class Azure::BatchAI::Mgmt::V2018_03_01::Models::TensorFlowSettings
Specifies the settings for TensorFlow job.
Attributes
@return [String] Specifies the command line arguments for the master task.
@return [String] Specifies the command line arguments for the parameter server task. This property is optional for single machine training.
@return [Integer] The number of parameter server tasks. If specified, 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.
@return [String] The path to python interpreter.
@return [String] The path and file name of the python script to execute the job.
@return [String] Specifies the command line arguments for the worker task. This property is optional for single machine training.
@return [Integer] The number of worker tasks. If specified, the value 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
Public Class Methods
Mapper for TensorFlowSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01/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: false, 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