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 \ NearestNeighborQueryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ value |
array
Optional. Individual value in the embedding. |
getValue
Optional. Individual value in the embedding.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValue
Optional. Individual value in the embedding.
Parameter | |
---|---|
Name | Description |
var |
float[]
|
Returns | |
---|---|
Type | Description |
$this |