<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_v2_utils.py#L1522-L1534) |

An initializer that initializes the table with vocabulary ids.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.tpu.experimental.embedding.RowIdInitializer(
        offset: int = 0
    )

## Methods

### `__call__`

[View source](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/tpu/tpu_embedding_v2_utils.py#L1529-L1534)

    __call__(
        shape: Union[Sequence[int], https://www.tensorflow.org/api_docs/python/tf/TensorShape],
        dtype: https://www.tensorflow.org/api_docs/python/tf/dtypes/DType
    ) -> core.Tensor

Call self as a function.