Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::CaffeSettings
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::CaffeSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb
Overview
Specifies the settings for Caffe job.
Instance Attribute Summary collapse
-
#command_line_args ⇒ String
Caffe job.
-
#config_file_path ⇒ String
cannot be specified if pythonScriptFilePath is specified.
-
#process_count ⇒ Integer
runtime.
-
#python_interpreter_path ⇒ String
specified only if the pythonScriptFilePath is specified.
-
#python_script_file_path ⇒ String
the job.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CaffeSettings class as Ruby Hash.
Instance Attribute Details
#command_line_args ⇒ String
Caffe job.
30 31 32 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb', line 30 def command_line_args @command_line_args end |
#config_file_path ⇒ String
cannot be specified if pythonScriptFilePath is specified.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb', line 17 def config_file_path @config_file_path end |
#process_count ⇒ Integer
runtime. The default value for this property is equal to nodeCount property
35 36 37 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb', line 35 def process_count @process_count end |
#python_interpreter_path ⇒ String
specified only if the pythonScriptFilePath is specified.
26 27 28 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb', line 26 def python_interpreter_path @python_interpreter_path end |
#python_script_file_path ⇒ String
the job. This property cannot be specified if configFilePath is specified.
22 23 24 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb', line 22 def python_script_file_path @python_script_file_path end |
Class Method Details
.mapper ⇒ Object
Mapper for CaffeSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/caffe_settings.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CaffeSettings', type: { name: 'Composite', class_name: 'CaffeSettings', model_properties: { 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 |