Class: Azure::BatchAI::Mgmt::V2018_05_01::Models::CNTKsettings

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

Overview

CNTK (aka Microsoft Cognitive Toolkit) job settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#command_line_argsString

need to be passed to the python script or cntk executable.

Returns:

  • (String)

    Command line arguments. Command line arguments that



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

def command_line_args
  @command_line_args
end

#config_file_pathString

BrainScript config file. This property can be specified only if the languageType is ‘BrainScript’.

Returns:

  • (String)

    Config file path. Specifies the path of the



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

def config_file_path
  @config_file_path
end

#language_typeString

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

Returns:

  • (String)

    Language type. The language to use for launching CNTK



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

def language_type
  @language_type
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



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

def process_count
  @process_count
end

#python_interpreter_pathString

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

Returns:

  • (String)

    Python interpreter path. The path to the Python



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

def python_interpreter_path
  @python_interpreter_path
end

#python_script_file_pathString

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

Returns:

  • (String)

    Python script file path. Python script to execute.



27
28
29
# File 'lib/2018-05-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.



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
108
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/cntksettings.rb', line 48

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