class_docstr: Mixin with helper functions for model comparison.
  
  Needs to be used with tf.test.TestCase.
  
  Note the following test only trainable_weights.
code: def _assert_weights_same_objects(self, model1, model2):
      self.assertEqual(
          len(model1.trainable_weights), len(model2.trainable_weights)
      )
      for w1, w2 in zip(
          model1.trainable_weights, model2.trainable_weights
      ):
          self.assertEqual(id(w1), id(w2))
  
file_path: model-optimization/tensorflow_model_optimization/python/core/keras/test_utils.py
imports: import numpy
  import tensorflow
label_desc: Use image node_id 1 for calling the ModelCompare obj's underlying member method code with example usage: obj._assert_weights_same_objects(model1, model2) without return types