public class TensorFlowUserScriptRunner extends AsyncNativeProcessRunner
| Constructor and Description |
|---|
TensorFlowUserScriptRunner(Ignite ignite,
ExecutorService executor,
TensorFlowJobArchive jobArchive,
TensorFlowClusterSpec clusterSpec,
Consumer<String> out,
Consumer<String> err)
Constructs a new instance of TensorFlow user script 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 TensorFlowUserScriptRunner(Ignite ignite, ExecutorService executor, TensorFlowJobArchive jobArchive, TensorFlowClusterSpec clusterSpec, Consumer<String> out, Consumer<String> err)
ignite - Ignite instance.executor - Executor to be used in AsyncNativeProcessRunner.jobArchive - Job archive that will be extracted and used as working directory for the native process.clusterSpec - 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