# tf.contrib.lookup.TableInitializerBase

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/lookup_ops.py#L375-L411) |

Base class for lookup table initializers.

Inherits From: [`CheckpointableBase`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/checkpoint/CheckpointableBase)

    tf.contrib.lookup.TableInitializerBase(
        key_dtype, value_dtype
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `key_dtype` | Type of the table keys. |
| `value_dtype` | Type of the table values. |

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `key_dtype` | The expected table key dtype. |
| `value_dtype` | The expected table value dtype. |

<br />

## Methods

### `initialize`

[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/lookup_ops.py#L398-L400)

    initialize(
        table
    )

Returns the table initialization op.