tf.compat.v1.tables_initializer

View source on GitHub

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

tf.compat.v1.tables_initializer(
    name='init_all_tables'
)

See the Low Level Intro guide, for an example of usage.

Args:

Returns:

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