Attention: This MediaPipe Solutions Preview is an early release. Learn more.


Stay organized with collections Save and categorize content based on your preferences.

Embedding result for a given embedder head.

embedding The actual embedding, either floating-point or scalar-quantized.
head_index The index of the embedder head that produced this embedding. This is useful for multi-head models.
head_name The name of the embedder head, which is the corresponding tensor metadata name (if any). This is useful for multi-head models.



View source

Creates a Embedding object from the given protobuf object.


head_index None
head_name None