tf.contrib.checkpoint.list_objects

tf.contrib.checkpoint.list_objects(root_checkpointable)

Defined in tensorflow/python/training/checkpointable/util.py.

Traverse the object graph and list all accessible objects.

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

Args:

  • root_checkpointable: A Checkpointable object whose dependencies should be flattened.

Returns:

A flat list of objects.