tf.contrib.checkpoint.list_objects

Traverse the object graph and list all accessible objects.

Looks for Trackable objects which are dependencies of root_trackable. Includes slot variables only if the variable they are slotting for and the optimizer are dependencies of root_trackable (i.e. if they would be saved with a checkpoint).

Args
root_trackable A Trackable object whose dependencies should be flattened.
Returns
A flat list of objects.

© 2020 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/versions/r1.15/api_docs/python/tf/contrib/checkpoint/list_objects