Class ChainerSettings
java.lang.Object
com.microsoft.azure.management.batchai.ChainerSettings
Chainer job settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet command line arguments that need to be passed to the python script.Get number of processes to launch for the job execution.Get the path to the Python interpreter.Get the python script to execute.withCommandLineArgs
(String commandLineArgs) Set command line arguments that need to be passed to the python script.withProcessCount
(Integer processCount) Set number of processes to launch for the job execution.withPythonInterpreterPath
(String pythonInterpreterPath) Set the path to the Python interpreter.withPythonScriptFilePath
(String pythonScriptFilePath) Set the python script to execute.
-
Constructor Details
-
ChainerSettings
public ChainerSettings()
-
-
Method Details
-
pythonScriptFilePath
Get the python script to execute.- Returns:
- the pythonScriptFilePath value
-
withPythonScriptFilePath
Set the python script to execute.- Parameters:
pythonScriptFilePath
- the pythonScriptFilePath value to set- Returns:
- the ChainerSettings object itself.
-
pythonInterpreterPath
Get the path to the Python interpreter.- Returns:
- the pythonInterpreterPath value
-
withPythonInterpreterPath
Set the path to the Python interpreter.- Parameters:
pythonInterpreterPath
- the pythonInterpreterPath value to set- Returns:
- the ChainerSettings object itself.
-
commandLineArgs
Get command line arguments that need to be passed to the python script.- Returns:
- the commandLineArgs value
-
withCommandLineArgs
Set command line arguments that need to be passed to the python script.- Parameters:
commandLineArgs
- the commandLineArgs value to set- Returns:
- the ChainerSettings object itself.
-
processCount
Get number of processes to launch for the job execution. The default value for this property is equal to nodeCount property.- Returns:
- the processCount value
-
withProcessCount
Set number of processes to launch for the job execution. The default value for this property is equal to nodeCount property.- Parameters:
processCount
- the processCount value to set- Returns:
- the ChainerSettings object itself.
-