class Azure::BatchAI::Mgmt::V2018_03_01::Models::Caffe2Settings

Specifies the settings for Caffe2 job.

Attributes

command_line_args[RW]

@return [String] Command line arguments that needs to be passed to the python script.

python_interpreter_path[RW]

@return [String] The path to python interpreter.

python_script_file_path[RW]

@return [String] The path and file name of the python script to execute the job.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-03-01/generated/azure_mgmt_batchai/models/caffe2settings.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Caffe2Settings',
    type: {
      name: 'Composite',
      class_name: 'Caffe2Settings',
      model_properties: {
        python_script_file_path: {
          client_side_validation: true,
          required: true,
          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'
          }
        }
      }
    }
  }
end