a15acdb062952633be7e3048f473416e1e73bbbb,fairseq/models/__init__.py,,,#,11

Before Change



from .fconv import *

__all__ = [
    "fconv", "fconv_iwslt_de_en", "fconv_wmt_en_ro", "fconv_wmt_en_de",
    "fconv_wmt_en_fr",
]

After Change



arch_model_map = {}
for model in __all__:
    archs = locals()[model].get_archs()
    for arch in archs:
        assert arch not in arch_model_map, "Duplicate model architecture detected: {}".format(arch)
        arch_model_map[arch] = model
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pytorch/fairseq
Commit Name: a15acdb062952633be7e3048f473416e1e73bbbb
Time: 2017-09-15
Author: edunov@fb.com
File Name: fairseq/models/__init__.py
Class Name:
Method Name:


Project Name: pytorch/fairseq
Commit Name: a15acdb062952633be7e3048f473416e1e73bbbb
Time: 2017-09-15
Author: edunov@fb.com
File Name: fairseq/models/__init__.py
Class Name:
Method Name:


Project Name: pymc-devs/pymc3
Commit Name: 946edea3a3d53cecf30bdef20c8efa080b79b94a
Time: 2007-09-26
Author: david.huard@15d7aa0b-6f1a-0410-991a-d59f85d14984
File Name: PyMC2/examples/model_for_joint.py
Class Name:
Method Name: