Google Cloud Ai Platform V1 Client - Class CoherenceInput (1.13.1)

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

Input for coherence metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec CoherenceSpec

Required. Spec for coherence score metric.

↳ instance CoherenceInstance

Required. Coherence instance.

getMetricSpec

Required. Spec for coherence score metric.

Returns
Type Description
CoherenceSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for coherence score metric.

Parameter
Name Description
var CoherenceSpec
Returns
Type Description
$this

getInstance

Required. Coherence instance.

Returns
Type Description
CoherenceInstance|null

hasInstance

clearInstance

setInstance

Required. Coherence instance.

Parameter
Name Description
var CoherenceInstance
Returns
Type Description
$this