7d35cf9c7cfc10d000dbc396267bf770f50b6f9e,tensorflow_hub/native_module.py,_ModuleImpl,create_apply_graph,#_ModuleImpl#Any#Any#Any#,480

Before Change


    meta_graph_lib.prefix_shared_name_attributes(meta_graph,
                                                 absolute_scope_name)
    if len(meta_graph.collection_def) and _is_tpu_graph_function():
      raise NotImplementedError(
          "Applying modules with collections inside TPU functions is not "
          "supported.")

    tf_v1.train.import_meta_graph(
        meta_graph,
        input_map=feed_map,

After Change


    meta_graph_lib.prefix_shared_name_attributes(meta_graph,
                                                 absolute_scope_name)
    if len(meta_graph.collection_def) and _is_tpu_graph_function():
      raise NotImplementedError(
          "Applying modules with collections inside TPU functions is not "
          "supported. Collections found: %s" % str(meta_graph.collection_def))

    tf_v1.train.import_meta_graph(
        meta_graph,
        input_map=feed_map,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: tensorflow/hub
Commit Name: 7d35cf9c7cfc10d000dbc396267bf770f50b6f9e
Time: 2019-07-25
Author: no-reply@google.com
File Name: tensorflow_hub/native_module.py
Class Name: _ModuleImpl
Method Name: create_apply_graph


Project Name: tensorflow/cleverhans
Commit Name: 97afc820ae9a25a176aee7af55a613e9f02a7d86
Time: 2018-08-31
Author: goodfellow@google.com
File Name: cleverhans/picklable_model.py
Class Name: PicklableModel
Method Name: get_params


Project Name: keras-team/keras
Commit Name: c7c53725098545256e3b2095c9b05285e3da3676
Time: 2015-07-03
Author: francois.chollet@gmail.com
File Name: keras/layers/normalization.py
Class Name: LRN2D
Method Name: __init__