tf.tables_initializer

tf.tables_initializer(name='init_all_tables')

Defined in tensorflow/python/ops/lookup_ops.py.

See the guide: Variables > Sparse Variable Updates

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

Args:

  • name: Optional name for the initialization op.

Returns:

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