Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ManualBatchTuningParameters
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ManualBatchTuningParameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Manual batch tuning parameters.
Instance Attribute Summary collapse
-
#batch_size ⇒ Fixnum
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ManualBatchTuningParameters
constructor
A new instance of GoogleCloudAiplatformV1beta1ManualBatchTuningParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ManualBatchTuningParameters
Returns a new instance of GoogleCloudAiplatformV1beta1ManualBatchTuningParameters.
14585 14586 14587 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch_size ⇒ Fixnum
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
14583 14584 14585 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14583 def batch_size @batch_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14590 14591 14592 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14590 def update!(**args) @batch_size = args[:batch_size] if args.key?(:batch_size) end |