Class: Google::Cloud::VectorSearch::V1::SparseVector
- Inherits:
-
Object
- Object
- Google::Cloud::VectorSearch::V1::SparseVector
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vectorsearch/v1/data_object.rb
Overview
A sparse vector.
Instance Attribute Summary collapse
-
#indices ⇒ ::Array<::Integer>
Required.
-
#values ⇒ ::Array<::Float>
Required.
Instance Attribute Details
#indices ⇒ ::Array<::Integer>
Returns Required. The corresponding indices for the values.
97 98 99 100 |
# File 'proto_docs/google/cloud/vectorsearch/v1/data_object.rb', line 97 class SparseVector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#values ⇒ ::Array<::Float>
Returns Required. The values of the vector.
97 98 99 100 |
# File 'proto_docs/google/cloud/vectorsearch/v1/data_object.rb', line 97 class SparseVector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |