Google Cloud Ai Platform V1 Client - Class Embedding (1.54.0)

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

The embedding vector.

Generated from protobuf message google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding

Namespace

Google \ Cloud \ AIPlatform \ V1 \ NearestNeighborQuery

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value float[]

Optional. Individual value in the embedding.

getValue

Optional. Individual value in the embedding.

Returns
Type Description
Google\Protobuf\RepeatedField<float>

setValue

Optional. Individual value in the embedding.

Parameter
Name Description
var float[]
Returns
Type Description
$this