class Azure::BatchAI::Mgmt::V2018_03_01::Models::CNTKsettings

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

Attributes

command_line_args[RW]

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

config_file_path[RW]

@return [String] Specifies the path of the config file. This property can be specified only if the languageType is 'BrainScript'.

language_type[RW]

@return [String] Specifies the language type to use for launching CNTK (aka Microsoft Cognitive Toolkit) job. Valid values are 'BrainScript' or 'Python'.

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. This property can be specified only if the languageType is 'Python'.

python_script_file_path[RW]

@return [String] The path and file name of the python script to execute the job. This property can be specified only if the languageType is 'Python'.

Public Class Methods

mapper() click to toggle source

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

# 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