6a75998d36f8231cfb4b265cb3d43b91e5f9cd9e,python/src/nnabla/utils/save.py,,_create_network,#Any#,104

Before Change


                                  "{}_Output".format(function_name))
            functions[function_name]["outputs"].append(vname)

    seen = set()
    _network_recursive(net["variable"].parent, seen)

    for name, variable in variables.items():
        v = n.variable.add()

After Change


    sink = _get_network_sink(outputs)

    // Create force name table: Variable -> name.
    names = {}
    names.update(net["names"])
    names.update(outputs)
    // Reverse dict: Variable --> Name
    names = {v: k for k, v in names.items()}

    // Create table: NdArray -> str
    // (Use Ndarray instead of Variable because parameter variable might be
    // unlinked)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 7

Instances


Project Name: sony/nnabla
Commit Name: 6a75998d36f8231cfb4b265cb3d43b91e5f9cd9e
Time: 2017-08-18
Author: Takuya.Narihira@sony.com
File Name: python/src/nnabla/utils/save.py
Class Name:
Method Name: _create_network


Project Name: allenai/allennlp
Commit Name: abfb32dd9303358c670a7567df445de02f560868
Time: 2018-08-24
Author: mattg@allenai.org
File Name: allennlp/nn/decoding/grammar_state.py
Class Name: GrammarState
Method Name: take_action


Project Name: facebookresearch/ParlAI
Commit Name: a4f90c8e8420db451da188fcb50d7b801a5c6ff1
Time: 2018-09-07
Author: roller@fb.com
File Name: parlai/agents/fairseq/fairseq.py
Class Name: FairseqAgent
Method Name: report


Project Name: dgasmith/opt_einsum
Commit Name: 265614193fce8dfc8aec34be3539d9b068f5b259
Time: 2018-08-18
Author: fritzo@uber.com
File Name: opt_einsum/parser.py
Class Name:
Method Name: convert_to_valid_einsum_chars


Project Name: RasaHQ/rasa
Commit Name: 1fbcb6ad975fa75b5eab73c05b2eade7f9bd7b44
Time: 2018-08-30
Author: tom@rasa.com
File Name: rasa_core/channels/__init__.py
Class Name:
Method Name: