public class TensorFlowChiefRunner extends AsyncNativeProcessRunner
| Constructor and Description |
|---|
TensorFlowChiefRunner(Ignite ignite,
ExecutorService executor,
TensorFlowClusterSpec spec,
Consumer<String> out,
Consumer<String> err)
Constructs a new instance of TensorFlow chief runner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAfter()
Method that should be called after starting the process.
|
NativeProcessRunner |
doBefore()
Method that should be called before starting the process.
|
getException, isCompleted, start, stoppublic TensorFlowChiefRunner(Ignite ignite, ExecutorService executor, TensorFlowClusterSpec spec, Consumer<String> out, Consumer<String> err)
ignite - Ignite instance.executor - Executor to be used in AsyncNativeProcessRunner.spec - TensorFlow cluster specification.out - Output stream data consumer.err - Error stream data consumer.public NativeProcessRunner doBefore()
doBefore in class AsyncNativeProcessRunnerpublic void doAfter()
doAfter in class AsyncNativeProcessRunner
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019