Google Cloud Ai Platform V1 Client - Class ManualBatchTuningParameters (0.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ManualBatchTuningParameters.

Manual batch tuning parameters.

Generated from protobuf message google.cloud.aiplatform.v1.ManualBatchTuningParameters

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ batch_size int

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.

getBatchSize

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.

Generated from protobuf field int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

setBatchSize

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.

Generated from protobuf field int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var int
Returns
TypeDescription
$this