Caffe2Settings Class

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

public class Caffe2Settings

Caffe2 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.

String pythonInterpreterPath()

Get the path to the Python interpreter.

String pythonScriptFilePath()

Get the python script to execute.

Caffe2Settings withCommandLineArgs(String commandLineArgs)

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

Caffe2Settings withPythonInterpreterPath(String pythonInterpreterPath)

Set the path to the Python interpreter.

Caffe2Settings 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

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 Caffe2Settings 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 Caffe2Settings object itself.

withPythonInterpreterPath

public Caffe2Settings withPythonInterpreterPath(String pythonInterpreterPath)

Set the path to the Python interpreter.

Parameters:

pythonInterpreterPath - the pythonInterpreterPath value to set

Returns:

the Caffe2Settings object itself.

withPythonScriptFilePath

public Caffe2Settings withPythonScriptFilePath(String pythonScriptFilePath)

Set the python script to execute.

Parameters:

pythonScriptFilePath - the pythonScriptFilePath value to set

Returns:

the Caffe2Settings object itself.

Applies to