<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/components/containers/embedding_result.py#L25-L39) |

Embedding result for a given embedder head.

    mp.tasks.components.containers.Embedding(
        embedding: np.ndarray,
        head_index: Optional[int] = None,
        head_name: Optional[str] = None
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `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. |

<br />

## Methods

### `__eq__`

    __eq__(
        other
    )

Return self==value.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| head_index | `None` |
| head_name | `None` |

<br />