public class PyTorchSettings extends Object
Constructor and Description |
---|
PyTorchSettings() |
Modifier and Type | Method and Description |
---|---|
String |
commandLineArgs()
Get command line arguments that need to be passed to the python script.
|
String |
communicationBackend()
Get type of the communication backend for distributed jobs.
|
Integer |
processCount()
Get number of processes to launch for the job execution.
|
String |
pythonInterpreterPath()
Get the path to the Python interpreter.
|
String |
pythonScriptFilePath()
Get the python script to execute.
|
PyTorchSettings |
withCommandLineArgs(String commandLineArgs)
Set command line arguments that need to be passed to the python script.
|
PyTorchSettings |
withCommunicationBackend(String communicationBackend)
Set type of the communication backend for distributed jobs.
|
PyTorchSettings |
withProcessCount(Integer processCount)
Set number of processes to launch for the job execution.
|
PyTorchSettings |
withPythonInterpreterPath(String pythonInterpreterPath)
Set the path to the Python interpreter.
|
PyTorchSettings |
withPythonScriptFilePath(String pythonScriptFilePath)
Set the python script to execute.
|
public String pythonScriptFilePath()
public PyTorchSettings withPythonScriptFilePath(String pythonScriptFilePath)
pythonScriptFilePath
- the pythonScriptFilePath value to setpublic String pythonInterpreterPath()
public PyTorchSettings withPythonInterpreterPath(String pythonInterpreterPath)
pythonInterpreterPath
- the pythonInterpreterPath value to setpublic String commandLineArgs()
public PyTorchSettings withCommandLineArgs(String commandLineArgs)
commandLineArgs
- the commandLineArgs value to setpublic Integer processCount()
public PyTorchSettings withProcessCount(Integer processCount)
processCount
- the processCount value to setpublic String communicationBackend()
public PyTorchSettings withCommunicationBackend(String communicationBackend)
communicationBackend
- the communicationBackend value to setCopyright © 2019. All rights reserved.