Class SparseEmbedding (1.55.0)

SparseEmbedding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
values MutableSequence[float]
Required. The list of embedding values of the sparse vector.
dimensions MutableSequence[int]
Required. The list of indexes for the embedding values of the sparse vector.

Methods

SparseEmbedding

SparseEmbedding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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