Google Cloud Ai Platform V1 Client - Class BleuInput (1.3.0)

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

Input for bleu metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec Google\Cloud\AIPlatform\V1\BleuSpec

Required. Spec for bleu score metric.

↳ instances array<Google\Cloud\AIPlatform\V1\BleuInstance>

Required. Repeated bleu instances.

getMetricSpec

Required. Spec for bleu score metric.

Returns
Type Description
Google\Cloud\AIPlatform\V1\BleuSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for bleu score metric.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\BleuSpec
Returns
Type Description
$this

getInstances

Required. Repeated bleu instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

Required. Repeated bleu instances.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\BleuInstance>
Returns
Type Description
$this