Class: Google::Cloud::AIPlatform::V1::IndexDatapoint::SparseEmbedding

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/index.rb

Overview

Feature embedding vector for sparse index. An array of numbers whose values are located in the specified dimensions.

Instance Attribute Summary collapse

Instance Attribute Details

#dimensions::Array<::Integer>

Returns Required. The list of indexes for the embedding values of the sparse vector.

Returns:

  • (::Array<::Integer>)

    Required. The list of indexes for the embedding values of the sparse vector.



168
169
170
171
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 168

class SparseEmbedding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#values::Array<::Float>

Returns Required. The list of embedding values of the sparse vector.

Returns:

  • (::Array<::Float>)

    Required. The list of embedding values of the sparse vector.



168
169
170
171
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 168

class SparseEmbedding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end