code: def test_match(self):
      root1 = autotrackable.AutoTrackable()
      leaf1 = root1.leaf1 = autotrackable.AutoTrackable()
      leaf2 = root1.leaf2 = autotrackable.AutoTrackable()
      leaf1.leaf3 = autotrackable.AutoTrackable()
      leaf1.leaf4 = autotrackable.AutoTrackable()
      leaf2.leaf5 = autotrackable.AutoTrackable()
      root_ckpt = trackable_utils.Checkpoint(root=root1)
      root_save_path = root_ckpt.save(
          os.path.join(self.get_temp_dir(), "root_ckpt")
      )
  
      root2 = autotrackable.AutoTrackable()
      leaf11 = root2.leaf1 = autotrackable.AutoTrackable()
      leaf12 = root2.leaf2 = autotrackable.AutoTrackable()
      leaf13 = leaf11.leaf3 = autotrackable.AutoTrackable()
      leaf15 = leaf12.leaf5 = autotrackable.AutoTrackable()
      matching_nodes = checkpoint_view.CheckpointView(
          root_save_path
      ).match(root2)
      self.assertDictEqual(
          matching_nodes,
          {0: root2, 1: leaf11, 2: leaf12, 4: leaf13, 6: leaf15},
      )
  
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 4 for calling the CheckpointViewTest obj's underlying member method code with example usage: obj.test_match() without return types