code: def testAssertions(self):
      a = autotrackable.AutoTrackable()
      a.l = {"k": [np.zeros([2, 2])]}
      self.assertAllEqual(
          nest.flatten({"k": [np.zeros([2, 2])]}), nest.flatten(a.l)
      )
      self.assertAllClose({"k": [np.zeros([2, 2])]}, a.l)
      nest.map_structure(
          self.assertAllClose, a.l, {"k": [np.zeros([2, 2])]}
      )
      a.tensors = {
          "k": [array_ops.ones([2, 2]), array_ops.zeros([3, 3])]
      }
      self.assertAllClose(
          {"k": [np.ones([2, 2]), np.zeros([3, 3])]},
          self.evaluate(a.tensors),
      )
  
file_path: tensorflow-upstream/tensorflow/python/trackable/autotrackable_test.py
imports: import os
  import numpy
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
  from tensorflow.python.trackable import autotrackable
  from tensorflow.python.trackable import data_structures
  from tensorflow.python.util import nest
label_desc: Use image node_id 7 for calling the InterfaceTests obj's underlying member method code with example usage: obj.testAssertions() without return types