docstr: Test loading keras weights.
docstr_tok: ["Test","loading","keras","weights","."]
code: def test_load_keras_weights(self):
      """Test loading keras weights."""
      model = self.get_model()
      filepath = os.path.join(
          self.get_temp_dir(), "test_weights.weights.h5"
      )
      model.save_weights(filepath)
      original_weights = model.get_weights()
      model.load_weights(filepath)
      loaded_weights = model.get_weights()
      for orig, loaded in zip(original_weights, loaded_weights):
          self.assertTrue(np.array_equal(orig, loaded))
  
imports: import os
  import unittest.mock
  import numpy
  from absl import logging
  from keras import layers
  from keras.models import Sequential
  from keras.saving import saving_api
  from keras.testing import test_case
label_desc: Use image node_id 2 for calling the LoadWeightsTests obj's underlying member method code with example usage: obj.test_load_keras_weights() without return types