Class CaffeSettings
java.lang.Object
com.microsoft.azure.management.batchai.CaffeSettings
Caffe job settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet command line arguments that need to be passed to the Caffe job.Get path of the config file for the job.Get number of processes to launch for the job execution.Get the path to the Python interpreter.Get python script to execute.withCommandLineArgs
(String commandLineArgs) Set command line arguments that need to be passed to the Caffe job.withConfigFilePath
(String configFilePath) Set path of the config file for the job.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 python script to execute.
-
Constructor Details
-
CaffeSettings
public CaffeSettings()
-
-
Method Details
-
configFilePath
Get path of the config file for the job. This property cannot be specified if pythonScriptFilePath is specified.- Returns:
- the configFilePath value
-
withConfigFilePath
Set path of the config file for the job. This property cannot be specified if pythonScriptFilePath is specified.- Parameters:
configFilePath
- the configFilePath value to set- Returns:
- the CaffeSettings object itself.
-
pythonScriptFilePath
Get python script to execute. This property cannot be specified if configFilePath is specified.- Returns:
- the pythonScriptFilePath value
-
withPythonScriptFilePath
Set python script to execute. This property cannot be specified if configFilePath is specified.- Parameters:
pythonScriptFilePath
- the pythonScriptFilePath value to set- Returns:
- the CaffeSettings object itself.
-
pythonInterpreterPath
Get the path to the Python interpreter. The property can be specified only if the pythonScriptFilePath is specified.- Returns:
- the pythonInterpreterPath value
-
withPythonInterpreterPath
Set the path to the Python interpreter. The property can be specified only if the pythonScriptFilePath is specified.- Parameters:
pythonInterpreterPath
- the pythonInterpreterPath value to set- Returns:
- the CaffeSettings object itself.
-
commandLineArgs
Get command line arguments that need to be passed to the Caffe job.- Returns:
- the commandLineArgs value
-
withCommandLineArgs
Set command line arguments that need to be passed to the Caffe job.- Parameters:
commandLineArgs
- the commandLineArgs value to set- Returns:
- the CaffeSettings 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 CaffeSettings object itself.
-