# tf.initialize_all_tables

<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#L51-L63) |

Returns an Op that initializes all tables of the default graph. (deprecated)

#### View aliases


**Compat aliases for migration**

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

[`tf.compat.v1.initialize_all_tables`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/initialize_all_tables)

<br />

    tf.initialize_all_tables(
        name='init_all_tables'
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use [`tf.tables_initializer`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/initializers/tables_initializer) instead.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `name` | Optional name for the initialization op. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| An Op that initializes all tables. Note that if there are not tables the returned Op is a NoOp. ||

<br />