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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metric_spec |
BleuSpec
Required. Spec for bleu score metric. |
↳ instances |
array<BleuInstance>
Required. Repeated bleu instances. |
getMetricSpec
Required. Spec for bleu score metric.
Returns | |
---|---|
Type | Description |
BleuSpec|null |
hasMetricSpec
clearMetricSpec
setMetricSpec
Required. Spec for bleu score metric.
Parameter | |
---|---|
Name | Description |
var |
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<BleuInstance>
|
Returns | |
---|---|
Type | Description |
$this |