FlatEmbeddingBatch

FlatEmbeddingBatch(self, shape, vibeMode, flatTensor, productIdx)

Represents a batch of flat embeddings associated with products.

This class combines features from FlatEmbeddingBatchT and IdBase.

Attributes

Name Type Description
shape List[int] The shape of the flat embedding tensor.
vibeMode int The vibe mode associated with the flat embeddings.
flatTensor List[float] The flat embedding tensor.
productIdx List[int] A list of indices representing products associated with this batch of flat embeddings.