Class HorovodSettings

java.lang.Object
com.microsoft.azure.management.batchai.HorovodSettings

public class HorovodSettings extends Object
Specifies the settings for Horovod job.
  • Constructor Details

    • HorovodSettings

      public HorovodSettings()
  • Method Details

    • pythonScriptFilePath

      public String pythonScriptFilePath()
      Get the python script to execute.
      Returns:
      the pythonScriptFilePath value
    • withPythonScriptFilePath

      public HorovodSettings withPythonScriptFilePath(String pythonScriptFilePath)
      Set the python script to execute.
      Parameters:
      pythonScriptFilePath - the pythonScriptFilePath value to set
      Returns:
      the HorovodSettings object itself.
    • pythonInterpreterPath

      public String pythonInterpreterPath()
      Get the path to the Python interpreter.
      Returns:
      the pythonInterpreterPath value
    • withPythonInterpreterPath

      public HorovodSettings withPythonInterpreterPath(String pythonInterpreterPath)
      Set the path to the Python interpreter.
      Parameters:
      pythonInterpreterPath - the pythonInterpreterPath value to set
      Returns:
      the HorovodSettings object itself.
    • commandLineArgs

      public String commandLineArgs()
      Get command line arguments that need to be passed to the python script.
      Returns:
      the commandLineArgs value
    • withCommandLineArgs

      public HorovodSettings withCommandLineArgs(String commandLineArgs)
      Set command line arguments that need to be passed to the python script.
      Parameters:
      commandLineArgs - the commandLineArgs value to set
      Returns:
      the HorovodSettings object itself.
    • processCount

      public Integer processCount()
      Get number of processes to launch for the job execution. The default value for this property is equal to nodeCount property.
      Returns:
      the processCount value
    • withProcessCount

      public HorovodSettings withProcessCount(Integer processCount)
      Set number of processes to launch for the job execution. The default value for this property is equal to nodeCount property.
      Parameters:
      processCount - the processCount value to set
      Returns:
      the HorovodSettings object itself.