ChainerSettings Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. ChainerSettings
- com.
public class ChainerSettings
Chainer job settings.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
commandLineArgs()
Get command line arguments that need to be passed to the python script. |
Integer |
processCount()
Get number of processes to launch for the job execution. The default value for this property is equal to nodeCount property. |
String |
pythonInterpreterPath()
Get the path to the Python interpreter. |
String |
pythonScriptFilePath()
Get the python script to execute. |
Chainer |
withCommandLineArgs(String commandLineArgs)
Set command line arguments that need to be passed to the python script. |
Chainer |
withProcessCount(Integer processCount)
Set number of processes to launch for the job execution. The default value for this property is equal to nodeCount property. |
Chainer |
withPythonInterpreterPath(String pythonInterpreterPath)
Set the path to the Python interpreter. |
Chainer |
withPythonScriptFilePath(String pythonScriptFilePath)
Set the python script to execute. |
Method Details
commandLineArgs
public String commandLineArgs()
Get command line arguments that need to be passed to the python script.
Returns:
processCount
public Integer processCount()
Get number of processes to launch for the job execution. The default value for this property is equal to nodeCount property.
Returns:
pythonInterpreterPath
public String pythonInterpreterPath()
Get the path to the Python interpreter.
Returns:
pythonScriptFilePath
public String pythonScriptFilePath()
Get the python script to execute.
Returns:
withCommandLineArgs
public ChainerSettings withCommandLineArgs(String commandLineArgs)
Set command line arguments that need to be passed to the python script.
Parameters:
Returns:
withProcessCount
public ChainerSettings withProcessCount(Integer processCount)
Set number of processes to launch for the job execution. The default value for this property is equal to nodeCount property.
Parameters:
Returns:
withPythonInterpreterPath
public ChainerSettings withPythonInterpreterPath(String pythonInterpreterPath)
Set the path to the Python interpreter.
Parameters:
Returns:
withPythonScriptFilePath
public ChainerSettings withPythonScriptFilePath(String pythonScriptFilePath)
Set the python script to execute.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for