TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now


View source on GitHub

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).


  • root_trackable: A Trackable object whose dependencies should be flattened.


A flat list of objects.