Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::CNTKsettings

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

Overview

Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#command_line_argsString

python script or CNTK.exe.

Returns:

  • (String)

    Command line arguments that needs to be passed to the



35
36
37
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 35

def command_line_args
  @command_line_args
end

#config_file_pathString

can be specified only if the languageType is ‘BrainScript’.

Returns:

  • (String)

    Specifies the path of the config file. This property



22
23
24
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 22

def config_file_path
  @config_file_path
end

#language_typeString

(aka Microsoft Cognitive Toolkit) job. Valid values are ‘BrainScript’ or ‘Python’.

Returns:

  • (String)

    Specifies the language type to use for launching CNTK



18
19
20
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 18

def language_type
  @language_type
end

#process_countInteger

runtime. The default value for this property is equal to nodeCount property

Returns:

  • (Integer)

    Number of processes parameter that is passed to MPI



40
41
42
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 40

def process_count
  @process_count
end

#python_interpreter_pathString

specified only if the languageType is ‘Python’.

Returns:

  • (String)

    The path to python interpreter. This property can be



31
32
33
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 31

def python_interpreter_path
  @python_interpreter_path
end

#python_script_file_pathString

the job. This property can be specified only if the languageType is ‘Python’.

Returns:

  • (String)

    The path and file name of the python script to execute



27
28
29
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 27

def python_script_file_path
  @python_script_file_path
end

Class Method Details

.mapperObject

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



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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CNTKsettings',
    type: {
      name: 'Composite',
      class_name: 'CNTKsettings',
      model_properties: {
        language_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'languageType',
          type: {
            name: 'String'
          }
        },
        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