public class HorovodSettings extends Object
Constructor and Description |
---|
HorovodSettings() |
Modifier and Type | Method and Description |
---|---|
String |
commandLineArgs()
Get command line arguments that need to be passed to the python script.
|
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.
|
HorovodSettings |
withCommandLineArgs(String commandLineArgs)
Set command line arguments that need to be passed to the python script.
|
HorovodSettings |
withProcessCount(Integer processCount)
Set number of processes to launch for the job execution.
|
HorovodSettings |
withPythonInterpreterPath(String pythonInterpreterPath)
Set the path to the Python interpreter.
|
HorovodSettings |
withPythonScriptFilePath(String pythonScriptFilePath)
Set the python script to execute.
|
public String pythonScriptFilePath()
public HorovodSettings withPythonScriptFilePath(String pythonScriptFilePath)
pythonScriptFilePath
- the pythonScriptFilePath value to setpublic String pythonInterpreterPath()
public HorovodSettings withPythonInterpreterPath(String pythonInterpreterPath)
pythonInterpreterPath
- the pythonInterpreterPath value to setpublic String commandLineArgs()
public HorovodSettings withCommandLineArgs(String commandLineArgs)
commandLineArgs
- the commandLineArgs value to setpublic Integer processCount()
public HorovodSettings withProcessCount(Integer processCount)
processCount
- the processCount value to setCopyright © 2019. All rights reserved.