class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::ChainerSettings

Specifies the settings for Chainer job.

Attributes

command_line_args[RW]

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

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.

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 ChainerSettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/chainer_settings.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ChainerSettings',
    type: {
      name: 'Composite',
      class_name: 'ChainerSettings',
      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'
          }
        },
        process_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'processCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end