tf.compat.v1.tables_initializer

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

Used in the notebooks

Used in the tutorials

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

name Optional name for the initialization op.

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