class Azure::BatchAI::Mgmt::V2018_05_01::Models::CaffeSettings

Caffe job settings.

Attributes

command_line_args[RW]

@return [String] Command line arguments. Command line arguments that need to be passed to the Caffe job.

config_file_path[RW]

@return [String] Config file path. Path of the config file for the job. This property cannot be specified if pythonScriptFilePath is specified.

process_count[RW]

@return [Integer] Process count. Number of processes to launch for the job execution. The default value for this property is equal to nodeCount property

python_interpreter_path[RW]

@return [String] Python interpreter path. The path to the Python interpreter. The property can be specified only if the pythonScriptFilePath is specified.

python_script_file_path[RW]

@return [String] Python script file path. Python script to execute. This property cannot be specified if configFilePath is specified.

Private Class Methods

mapper() click to toggle source

Mapper for CaffeSettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/caffe_settings.rb, line 42
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CaffeSettings',
    type: {
      name: 'Composite',
      class_name: 'CaffeSettings',
      model_properties: {
        config_file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'configFilePath',
          type: {
            name: 'String'
          }
        },
        python_script_file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pythonScriptFilePath',
          type: {
            name: 'String'
          }
        },
        python_interpreter_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pythonInterpreterPath',
          type: {
            name: 'String'
          }
        },
        command_line_args: {
          client_side_validation: true,
          required: false,
          serialized_name: 'commandLineArgs',
          type: {
            name: 'String'
          }
        },
        process_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'processCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end