W3cubDocs

/TensorFlow Python

tf.tables_initializer(name='init_all_tables')

tf.tables_initializer(name='init_all_tables')

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.

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

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/tables_initializer