<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/tpu/tpu_embedding_v3.py#L81-L92) |

Config for sparsecore embedding.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.tpu.experimental.embedding.SparseCoreEmbeddingConfig`](https://www.tensorflow.org/api_docs/python/tf/tpu/experimental/embedding/SparseCoreEmbeddingConfig)

<br />

    tf.tpu.experimental.embedding.SparseCoreEmbeddingConfig(
        disable_table_stacking: bool = False,
        max_ids_per_chip_per_sample: int = 64,
        max_ids_per_table: Optional[Dict[str, int]] = None,
        max_unique_ids_per_table: Optional[Dict[str, int]] = None,
        allow_id_dropping: bool = False,
        initialize_tables_on_host: bool = True,
        enable_fast_table_initialization: bool = False
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `disable_table_stacking` | Dataclass field |
| `max_ids_per_chip_per_sample` | Dataclass field |
| `max_ids_per_table` | Dataclass field |
| `max_unique_ids_per_table` | Dataclass field |
| `allow_id_dropping` | Dataclass field |
| `initialize_tables_on_host` | Dataclass field |
| `enable_fast_table_initialization` | Dataclass field |

<br />

## Methods

### `__eq__`

    __eq__(
        other
    )

Return self==value.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| allow_id_dropping | `False` |
| disable_table_stacking | `False` |
| enable_fast_table_initialization | `False` |
| initialize_tables_on_host | `True` |
| max_ids_per_chip_per_sample | `64` |
| max_ids_per_table | `None` |
| max_unique_ids_per_table | `None` |

<br />