70a35555bfea96f8943768b43340d803ee54aaf6,server/bert_serving/server/graph.py,,convert_variables_to_constants,#Any#Any#Any#Any#Any#Any#Any#,154

Before Change


        if input_node.name.endswith("embedding_lookup") and input_node.op == "GatherV2":
            patch_dtype(input_node, "Tparams", output_node)

        if input_node.name.endswith("embedding_lookup/Identity") and input_node.input.endswith("embedding_lookup"):
            patch_dtype(input_node, "T", output_node)

        if input_node.name.op == "Reshape":
            patch_dtype(input_node, "T", output_node)

        output_graph_def.node.extend([output_node])

After Change


        if input_node.op in {"GatherV2", "GatherNd"}:
            patch_dtype(input_node, "Tparams", output_node)

        if input_node.op in {"Identity", "Reshape"}:
            patch_dtype(input_node, "T", output_node)

        output_graph_def.node.extend([output_node])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: hanxiao/bert-as-service
Commit Name: 70a35555bfea96f8943768b43340d803ee54aaf6
Time: 2019-01-18
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/graph.py
Class Name:
Method Name: convert_variables_to_constants


Project Name: naoto0804/pytorch-AdaIN
Commit Name: 1d9f12ae9b461689b5019b711c597d1d06c13a72
Time: 2020-11-13
Author: levindabhi17@gmail.com
File Name: test_video.py
Class Name:
Method Name:


Project Name: pantsbuild/pants
Commit Name: ce56ed29d8846c82e611376c79d980e07cc9975c
Time: 2019-09-04
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/tasks/coverage/plugin.py
Class Name: ChrootRemappingPlugin
Method Name: find_executable_files


Project Name: nilearn/nilearn
Commit Name: 9173aaca590df50bbaa6122bc744291617f36b90
Time: 2020-01-09
Author: kc.insight.pi@gmail.com
File Name: nilearn/_utils/testing.py
Class Name:
Method Name: are_tests_running