code: def test_all_nodes_with_paths(self):
      root = autotrackable.AutoTrackable()
      leaf1 = root.leaf1 = autotrackable.AutoTrackable()
      leaf2 = root.leaf2 = autotrackable.AutoTrackable()
      leaf1.leaf3 = autotrackable.AutoTrackable()
      leaf1.leaf4 = autotrackable.AutoTrackable()
      leaf2.leaf5 = autotrackable.AutoTrackable()
      root_ckpt = trackable_utils.Checkpoint(root=root)
      root_save_path = root_ckpt.save(
          os.path.join(self.get_temp_dir(), "root_ckpt")
      )
      all_nodes_with_paths = checkpoint_view.CheckpointView(
          root_save_path
      )._descendants_with_paths()
      self.assertEqual(
          {
              "root",
              "root.leaf1",
              "root.leaf2",
              "root.save_counter",
              "root.leaf1.leaf3",
              "root.leaf1.leaf4",
              "root.leaf2.leaf5",
          },
          set(all_nodes_with_paths.values()),
      )
  
file_path: tensorflow-upstream/tensorflow/python/checkpoint/checkpoint_view_test.py
imports: import os
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.checkpoint import checkpoint_view
  from tensorflow.python.eager import test
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 3 for calling the CheckpointViewTest obj's underlying member method code with example usage: obj.test_all_nodes_with_paths() without return types