Caffe2Settings Class
- java.
lang. Object - com.
azure. resourcemanager. batchai. models. Caffe2Settings
- com.
public final class Caffe2Settings
Caffe2 job settings.
Constructor Summary
Constructor | Description | |
---|---|---|
Caffe2Settings() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
commandLineArgs()
Get the command |
String |
pythonInterpreterPath()
Get the python |
String |
pythonScriptFilePath()
Get the python |
void |
validate()
Validates the instance. |
Caffe2Settings |
withCommandLineArgs(String commandLineArgs)
Set the command |
Caffe2Settings |
withPythonInterpreterPath(String pythonInterpreterPath)
Set the python |
Caffe2Settings |
withPythonScriptFilePath(String pythonScriptFilePath)
Set the python |
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:
pythonInterpreterPath
public String pythonInterpreterPath()
Get the pythonInterpreterPath property: The path to the Python interpreter.
Returns:
pythonScriptFilePath
public String pythonScriptFilePath()
Get the pythonScriptFilePath property: The python script to execute.
Returns:
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:
Returns:
withPythonInterpreterPath
public Caffe2Settings withPythonInterpreterPath(String pythonInterpreterPath)
Set the pythonInterpreterPath property: The path to the Python interpreter.
Parameters:
Returns:
withPythonScriptFilePath
public Caffe2Settings withPythonScriptFilePath(String pythonScriptFilePath)
Set the pythonScriptFilePath property: 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