66c202e4269b72f317f2a0632e2e51fac1e17517,tensorflow_hub/e2e_test.py,End2EndTest,test_load,#End2EndTest#,167

Before Change


          module_files)

  def test_load(self):
    if LooseVersion(tf.__version__) < LooseVersion("2.0.0"):
      try:
        hub.load("@my/tf2_module/2")
        self.fail("Failure expected. hub.module() not support in TF 1.x")

After Change


        self.fail("Failure expected. hub.module() not support in TF 1.x")
      except NotImplementedError:
        pass
    elif tf_v1.executing_eagerly():

      class AdderModule(tf.train.Checkpoint):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: tensorflow/hub
Commit Name: 66c202e4269b72f317f2a0632e2e51fac1e17517
Time: 2019-02-26
Author: no-reply@google.com
File Name: tensorflow_hub/e2e_test.py
Class Name: End2EndTest
Method Name: test_load


Project Name: tensorflow/hub
Commit Name: 86ba09af5eea6fb605c39da57297b6d5d3b2c77d
Time: 2020-04-21
Author: no-reply@google.com
File Name: examples/text_embeddings_v2/export_test_v2.py
Class Name:
Method Name:


Project Name: tensorflow/hub
Commit Name: 7fde19f75c12bbadc881dbd0a1fb48e25830f485
Time: 2020-02-24
Author: no-reply@google.com
File Name: examples/text_embeddings/export_test.py
Class Name:
Method Name:


Project Name: tensorflow/hub
Commit Name: 86ba09af5eea6fb605c39da57297b6d5d3b2c77d
Time: 2020-04-21
Author: no-reply@google.com
File Name: examples/mnist_export_v2/export_test.py
Class Name:
Method Name: