Class: Azure::BatchAI::Mgmt::V2018_05_01::Models::ChainerSettings
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2018_05_01::Models::ChainerSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb
Overview
Chainer job settings.
Instance Attribute Summary collapse
-
#command_line_args ⇒ String
need to be passed to the python script.
-
#process_count ⇒ Integer
job execution.
-
#python_interpreter_path ⇒ String
interpreter.
-
#python_script_file_path ⇒ String
Python script file path.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ChainerSettings class as Ruby Hash.
Instance Attribute Details
#command_line_args ⇒ String
need to be passed to the python script.
24 25 26 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 24 def command_line_args @command_line_args end |
#process_count ⇒ Integer
job execution. The default value for this property is equal to nodeCount property
29 30 31 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 29 def process_count @process_count end |
#python_interpreter_path ⇒ String
interpreter.
20 21 22 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 20 def python_interpreter_path @python_interpreter_path end |
#python_script_file_path ⇒ String
Returns Python script file path. The python script to execute.
16 17 18 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 16 def python_script_file_path @python_script_file_path end |
Class Method Details
.mapper ⇒ Object
Mapper for ChainerSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/chainer_settings.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ChainerSettings', type: { name: 'Composite', class_name: 'ChainerSettings', 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' } }, process_count: { client_side_validation: true, required: false, serialized_name: 'processCount', type: { name: 'Number' } } } } } end |