ChainerSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.batchai.ChainerSettings

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.

ChainerSettings withCommandLineArgs(String commandLineArgs)

Set command line arguments that need to be passed to the python script.

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.

ChainerSettings withPythonInterpreterPath(String pythonInterpreterPath)

Set the path to the Python interpreter.

ChainerSettings 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:

the commandLineArgs value

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:

the processCount value

pythonInterpreterPath

public String pythonInterpreterPath()

Get the path to the Python interpreter.

Returns:

the pythonInterpreterPath value

pythonScriptFilePath

public String pythonScriptFilePath()

Get the python script to execute.

Returns:

the pythonScriptFilePath value

withCommandLineArgs

public ChainerSettings withCommandLineArgs(String commandLineArgs)

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.

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:

processCount - the processCount value to set

Returns:

the ChainerSettings object itself.

withPythonInterpreterPath

public ChainerSettings withPythonInterpreterPath(String pythonInterpreterPath)

Set the path to the Python interpreter.

Parameters:

pythonInterpreterPath - the pythonInterpreterPath value to set

Returns:

the ChainerSettings object itself.

withPythonScriptFilePath

public ChainerSettings withPythonScriptFilePath(String pythonScriptFilePath)

Set the python script to execute.

Parameters:

pythonScriptFilePath - the pythonScriptFilePath value to set

Returns:

the ChainerSettings object itself.

Applies to