Google Cloud Ai Platform V1 Client - Class ManualBatchTuningParameters (0.29.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

Namespace

Google \ Cloud \ AIPlatform \ V1

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.

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this