# tf.contrib.checkpoint.list_objects

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/training/tracking/util.py#L479-L493) |

Traverse the object graph and list all accessible objects.

    tf.contrib.checkpoint.list_objects(
        root_trackable
    )

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `root_trackable` | A `Trackable` object whose dependencies should be flattened. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A flat list of objects. ||

<br />