<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/retrieval/universal_embedder.py#L53-L58) |

An image part in a multimodal content block.

```python
mp.tasks.retrieval.ImagePart(
    image_bytes: Optional[bytes] = None, file_path: Optional[str] = None
)
```

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `image_bytes` | Dataclass field |
| `file_path` | Dataclass field |

<br />

## Methods

### `__eq__`

```python
__eq__(
    other
)
```

Return self==value.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| file_path | `None` |
| image_bytes | `None` |

<br />