class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::CaffeSettings

Specifies the settings for Caffe job.

Attributes

command_line_args[RW]

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

config_file_path[RW]

@return [String] Specifies the path of the config file. This property cannot be specified if pythonScriptFilePath is specified.

process_count[RW]

@return [Integer] Number of processes parameter that is passed to MPI runtime. The default value for this property is equal to nodeCount property

python_interpreter_path[RW]

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

python_script_file_path[RW]

@return [String] The path and file name of the python script to execute the job. This property cannot be specified if configFilePath is specified.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01-preview/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