Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::Caffe2Settings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe2settings.rb

Overview

Specifies the settings for Caffe2 job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#command_line_argsString

python script.

Returns:

  • (String)

    Command line arguments that needs to be passed to the



24
25
26
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe2settings.rb', line 24

def command_line_args
  @command_line_args
end

#python_interpreter_pathString

Returns The path to python interpreter.

Returns:

  • (String)

    The path to python interpreter.



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe2settings.rb', line 20

def python_interpreter_path
  @python_interpreter_path
end

#python_script_file_pathString

the job.

Returns:

  • (String)

    The path and file name of the python script to execute



17
18
19
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe2settings.rb', line 17

def python_script_file_path
  @python_script_file_path
end

Class Method Details

.mapperObject

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



31
32
33
34
35
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
# File 'lib/2017-09-01-preview/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