Reference documentation and code samples for the Google Cloud Vector Search V1 Client class DenseVector.
A dense vector.
Generated from protobuf message google.cloud.vectorsearch.v1.DenseVector
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ values |
array
Required. The values of the vector. |
getValues
Required. The values of the vector.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setValues
Required. The values of the vector.
| Parameter | |
|---|---|
| Name | Description |
var |
float[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|