Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::TensorFlowSettings
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::TensorFlowSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb
Overview
Specifies the settings for TensorFlow job.
Instance Attribute Summary collapse
-
#master_command_line_args ⇒ String
task.
-
#parameter_server_command_line_args ⇒ String
server task.
-
#parameter_server_count ⇒ Integer
the value must be less than or equal to nodeCount.
-
#python_interpreter_path ⇒ String
The path to python interpreter.
-
#python_script_file_path ⇒ String
the job.
-
#worker_command_line_args ⇒ String
task.
-
#worker_count ⇒ Integer
must be less than or equal to (nodeCount * numberOfGPUs per VM).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TensorFlowSettings class as Ruby Hash.
Instance Attribute Details
#master_command_line_args ⇒ String
task.
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 24 def master_command_line_args @master_command_line_args end |
#parameter_server_command_line_args ⇒ String
server task. This property is optional for single machine training.
32 33 34 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 32 def parameter_server_command_line_args @parameter_server_command_line_args end |
#parameter_server_count ⇒ Integer
the value must be less than or equal to nodeCount. If not specified, the default value is equal to 1 for distributed TensorFlow training (This property is not applicable for single machine training). This property can be specified only for distributed TensorFlow training.
45 46 47 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 45 def parameter_server_count @parameter_server_count end |
#python_interpreter_path ⇒ String
Returns The path to python interpreter.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 20 def python_interpreter_path @python_interpreter_path end |
#python_script_file_path ⇒ String
the job.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 17 def python_script_file_path @python_script_file_path end |
#worker_command_line_args ⇒ String
task. This property is optional for single machine training.
28 29 30 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 28 def worker_command_line_args @worker_command_line_args end |
#worker_count ⇒ Integer
must be less than or equal to (nodeCount * numberOfGPUs per VM). If not specified, the default value is equal to nodeCount. This property can be specified only for distributed TensorFlow training
38 39 40 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 38 def worker_count @worker_count end |
Class Method Details
.mapper ⇒ Object
Mapper for TensorFlowSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/tensor_flow_settings.rb', line 52 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TensorFlowSettings', type: { name: 'Composite', class_name: 'TensorFlowSettings', 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' } }, master_command_line_args: { client_side_validation: true, required: true, serialized_name: 'masterCommandLineArgs', type: { name: 'String' } }, worker_command_line_args: { client_side_validation: true, required: false, serialized_name: 'workerCommandLineArgs', type: { name: 'String' } }, parameter_server_command_line_args: { client_side_validation: true, required: false, serialized_name: 'parameterServerCommandLineArgs', type: { name: 'String' } }, worker_count: { client_side_validation: true, required: false, serialized_name: 'workerCount', type: { name: 'Number' } }, parameter_server_count: { client_side_validation: true, required: false, serialized_name: 'parameterServerCount', type: { name: 'Number' } } } } } end |