code: def test_load(self):
      if not hasattr(tf.compat.v1.saved_model, "load_v2"):
          try:
              hub.load("@my/tf2_module/2")
              self.fail(
                  "Failure expected. hub.load() not supported in TF 1.x"
              )
          except NotImplementedError:
              pass
      elif tf.compat.v1.executing_eagerly():
  
          class AdderModule(tf.train.Checkpoint):
              @tf.function(
                  input_signature=[
                      tf.TensorSpec(shape=None, dtype=tf.float32)
                  ]
              )
              def add(self, x):
                  return x + x + 1.0
  
          to_export = AdderModule()
          save_dir = os.path.join(self.get_temp_dir(), "saved_model_v2")
          tf.saved_model.save(to_export, save_dir)
          module_name = "test_module_v2.tgz"
          self._create_tgz(save_dir, module_name)
  
          restored_module = hub.load(
              "http://localhost:%d/%s" % (self.server_port, module_name)
          )
          self.assertIsNotNone(restored_module)
          self.assertTrue(hasattr(restored_module, "add"))
  
file_path: hub/tensorflow_hub/e2e_test.py
imports: import os
  import tarfile
  from absl import logging
  import tensorflow
  import tensorflow_hub
  from tensorflow_hub import test_utils
label_desc: Use image node_id 6 for calling the End2EndTest obj's underlying member method code with example usage: obj.test_load() and returns: unknown