public class TensorFlowSettings extends Object
| Constructor and Description |
|---|
TensorFlowSettings() |
| Modifier and Type | Method and Description |
|---|---|
String |
masterCommandLineArgs()
Get command line arguments that need to be passed to the python script for the master task.
|
String |
parameterServerCommandLineArgs()
Get command line arguments that need to be passed to the python script for the parameter server.
|
Integer |
parameterServerCount()
Get the number of parameter server tasks.
|
String |
pythonInterpreterPath()
Get the path to the Python interpreter.
|
String |
pythonScriptFilePath()
Get the python script to execute.
|
TensorFlowSettings |
withMasterCommandLineArgs(String masterCommandLineArgs)
Set command line arguments that need to be passed to the python script for the master task.
|
TensorFlowSettings |
withParameterServerCommandLineArgs(String parameterServerCommandLineArgs)
Set command line arguments that need to be passed to the python script for the parameter server.
|
TensorFlowSettings |
withParameterServerCount(Integer parameterServerCount)
Set the number of parameter server tasks.
|
TensorFlowSettings |
withPythonInterpreterPath(String pythonInterpreterPath)
Set the path to the Python interpreter.
|
TensorFlowSettings |
withPythonScriptFilePath(String pythonScriptFilePath)
Set the python script to execute.
|
TensorFlowSettings |
withWorkerCommandLineArgs(String workerCommandLineArgs)
Set command line arguments that need to be passed to the python script for the worker task.
|
TensorFlowSettings |
withWorkerCount(Integer workerCount)
Set the number of worker tasks.
|
String |
workerCommandLineArgs()
Get command line arguments that need to be passed to the python script for the worker task.
|
Integer |
workerCount()
Get the number of worker tasks.
|
public String pythonScriptFilePath()
public TensorFlowSettings withPythonScriptFilePath(String pythonScriptFilePath)
pythonScriptFilePath - the pythonScriptFilePath value to setpublic String pythonInterpreterPath()
public TensorFlowSettings withPythonInterpreterPath(String pythonInterpreterPath)
pythonInterpreterPath - the pythonInterpreterPath value to setpublic String masterCommandLineArgs()
public TensorFlowSettings withMasterCommandLineArgs(String masterCommandLineArgs)
masterCommandLineArgs - the masterCommandLineArgs value to setpublic String workerCommandLineArgs()
public TensorFlowSettings withWorkerCommandLineArgs(String workerCommandLineArgs)
workerCommandLineArgs - the workerCommandLineArgs value to setpublic String parameterServerCommandLineArgs()
public TensorFlowSettings withParameterServerCommandLineArgs(String parameterServerCommandLineArgs)
parameterServerCommandLineArgs - the parameterServerCommandLineArgs value to setpublic Integer workerCount()
public TensorFlowSettings withWorkerCount(Integer workerCount)
workerCount - the workerCount value to setpublic Integer parameterServerCount()
public TensorFlowSettings withParameterServerCount(Integer parameterServerCount)
parameterServerCount - the parameterServerCount value to setCopyright © 2019. All rights reserved.