Class CaffeSettings

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

public class CaffeSettings extends Object
Caffe job settings.
  • Constructor Details

    • CaffeSettings

      public CaffeSettings()
  • Method Details

    • configFilePath

      public String configFilePath()
      Get path of the config file for the job. This property cannot be specified if pythonScriptFilePath is specified.
      Returns:
      the configFilePath value
    • withConfigFilePath

      public CaffeSettings withConfigFilePath(String configFilePath)
      Set path of the config file for the job. This property cannot be specified if pythonScriptFilePath is specified.
      Parameters:
      configFilePath - the configFilePath value to set
      Returns:
      the CaffeSettings object itself.
    • pythonScriptFilePath

      public String pythonScriptFilePath()
      Get python script to execute. This property cannot be specified if configFilePath is specified.
      Returns:
      the pythonScriptFilePath value
    • withPythonScriptFilePath

      public CaffeSettings withPythonScriptFilePath(String pythonScriptFilePath)
      Set python script to execute. This property cannot be specified if configFilePath is specified.
      Parameters:
      pythonScriptFilePath - the pythonScriptFilePath value to set
      Returns:
      the CaffeSettings object itself.
    • pythonInterpreterPath

      public String pythonInterpreterPath()
      Get the path to the Python interpreter. The property can be specified only if the pythonScriptFilePath is specified.
      Returns:
      the pythonInterpreterPath value
    • withPythonInterpreterPath

      public CaffeSettings withPythonInterpreterPath(String pythonInterpreterPath)
      Set the path to the Python interpreter. The property can be specified only if the pythonScriptFilePath is specified.
      Parameters:
      pythonInterpreterPath - the pythonInterpreterPath value to set
      Returns:
      the CaffeSettings object itself.
    • commandLineArgs

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

      public CaffeSettings withCommandLineArgs(String commandLineArgs)
      Set command line arguments that need to be passed to the Caffe job.
      Parameters:
      commandLineArgs - the commandLineArgs value to set
      Returns:
      the CaffeSettings 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 CaffeSettings 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 CaffeSettings object itself.