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, stop
public 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 AsyncNativeProcessRunner
public void doAfter()
doAfter
in class AsyncNativeProcessRunner
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024