Cloud AI Platform v1 API - Class IndexDatapoint.Types.SparseEmbedding (3.4.0)

public sealed class IndexDatapoint.Types.SparseEmbedding : IMessage<IndexDatapoint.Types.SparseEmbedding>, IEquatable<IndexDatapoint.Types.SparseEmbedding>, IDeepCloneable<IndexDatapoint.Types.SparseEmbedding>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class IndexDatapoint.Types.SparseEmbedding.

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

Inheritance

object > IndexDatapoint.Types.SparseEmbedding

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

SparseEmbedding()

public SparseEmbedding()

SparseEmbedding(SparseEmbedding)

public SparseEmbedding(IndexDatapoint.Types.SparseEmbedding other)
Parameter
Name Description
other IndexDatapointTypesSparseEmbedding

Properties

Dimensions

public RepeatedField<long> Dimensions { get; }

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

Property Value
Type Description
RepeatedFieldlong

Values

public RepeatedField<float> Values { get; }

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

Property Value
Type Description
RepeatedFieldfloat