Caffe2Settings Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. Caffe2Settings
- com.
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:
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 Caffe2Settings withCommandLineArgs(String commandLineArgs)
Set command line arguments that need to be passed to the python script.
Parameters:
Returns:
withPythonInterpreterPath
public Caffe2Settings withPythonInterpreterPath(String pythonInterpreterPath)
Set the path to the Python interpreter.
Parameters:
Returns:
withPythonScriptFilePath
public Caffe2Settings 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