Caffe2Settings Class

  • java.lang.Object
    • com.azure.resourcemanager.batchai.models.Caffe2Settings

public final class Caffe2Settings

Caffe2 job settings.

Constructor Summary

Constructor Description
Caffe2Settings()

Method Summary

Modifier and Type Method and Description
String commandLineArgs()

Get the commandLineArgs property: Command line arguments that need to be passed to the python script.

String pythonInterpreterPath()

Get the pythonInterpreterPath property: The path to the Python interpreter.

String pythonScriptFilePath()

Get the pythonScriptFilePath property: The python script to execute.

void validate()

Validates the instance.

Caffe2Settings withCommandLineArgs(String commandLineArgs)

Set the commandLineArgs property: Command line arguments that need to be passed to the python script.

Caffe2Settings withPythonInterpreterPath(String pythonInterpreterPath)

Set the pythonInterpreterPath property: The path to the Python interpreter.

Caffe2Settings withPythonScriptFilePath(String pythonScriptFilePath)

Set the pythonScriptFilePath property: The python script to execute.

Methods inherited from java.lang.Object

Constructor Details

Caffe2Settings

public Caffe2Settings()

Method Details

commandLineArgs

public String commandLineArgs()

Get the commandLineArgs property: Command line arguments that need to be passed to the python script.

Returns:

the commandLineArgs value.

pythonInterpreterPath

public String pythonInterpreterPath()

Get the pythonInterpreterPath property: The path to the Python interpreter.

Returns:

the pythonInterpreterPath value.

pythonScriptFilePath

public String pythonScriptFilePath()

Get the pythonScriptFilePath property: The python script to execute.

Returns:

the pythonScriptFilePath value.

validate

public void validate()

Validates the instance.

withCommandLineArgs

public Caffe2Settings withCommandLineArgs(String commandLineArgs)

Set the commandLineArgs property: 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 pythonInterpreterPath property: 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 pythonScriptFilePath property: The python script to execute.

Parameters:

pythonScriptFilePath - the pythonScriptFilePath value to set.

Returns:

the Caffe2Settings object itself.

Applies to