Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ManualBatchTuningParameters

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Manual batch tuning parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ManualBatchTuningParameters

Returns a new instance of GoogleCloudAiplatformV1ManualBatchTuningParameters.



13950
13951
13952
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13950

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#batch_sizeFixnum

Immutable. The number of the records (e.g. instances) of the operation given in each batch to a machine replica. Machine type, and size of a single record should be considered when setting this parameter, higher value speeds up the batch operation's execution, but too high value will result in a whole batch not fitting in a machine's memory, and the whole operation will fail. The default value is 64. Corresponds to the JSON property batchSize

Returns:

  • (Fixnum)


13948
13949
13950
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13948

def batch_size
  @batch_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13955
13956
13957
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13955

def update!(**args)
  @batch_size = args[:batch_size] if args.key?(:batch_size)
end