Class: Azure::BatchAI::Mgmt::V2018_05_01::Models::ChainerSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb

Overview

Chainer job settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#command_line_argsString

need to be passed to the python script.

Returns:

  • (String)

    Command line arguments. Command line arguments that



24
25
26
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 24

def command_line_args
  @command_line_args
end

#process_countInteger

job execution. The default value for this property is equal to nodeCount property

Returns:

  • (Integer)

    Process count. Number of processes to launch for the



29
30
31
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 29

def process_count
  @process_count
end

#python_interpreter_pathString

interpreter.

Returns:

  • (String)

    Python interpreter path. The path to the Python



20
21
22
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 20

def python_interpreter_path
  @python_interpreter_path
end

#python_script_file_pathString

Returns Python script file path. The python script to execute.

Returns:

  • (String)

    Python script file path. The python script to execute.



16
17
18
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 16

def python_script_file_path
  @python_script_file_path
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/2018-05-01/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