a5553a8be481649ff2584ba6524dcca5db03fed1,src/graph_builder/graph/converters/chainer.py,ChainerGraphConverter,convert,#ChainerGraphConverter#Any#Any#Any#,226

Before Change


            for cfunc in pending_functions:
                if all(((id(cvar) in self._cvar_ids) for cvar in cfunc.inputs)):
                    // このレイヤーは入力が揃った
                    print("do", cfunc)
                    opr_block = self._construct_operator_block(cfunc)
                    out_nvars = opr_block([self._cvar_to_nvar[id(cvar)] for cvar in cfunc.inputs])
                    assert len(out_nvars) == len(cfunc.outputs)
                    // 出力変数を対応づける

After Change


                    opr_block = self._construct_operator_block(cfunc)
                    out_nvars = opr_block([self._cvar_to_nvar[id(cvar)] for cvar in cfunc.inputs])
                    assert len(out_nvars) == len(cfunc.outputs), str(cfunc)
                    self._known_nvars.extend(opr_block.hidden_consts)
                    self._known_nvars.extend(opr_block.hidden_vars)
                    // 出力変数を対応づける
                    for out_nvar, out_cvar_wref in zip(out_nvars, cfunc.outputs):
                        out_cvar = out_cvar_wref()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: mil-tokyo/webdnn
Commit Name: a5553a8be481649ff2584ba6524dcca5db03fed1
Time: 2017-04-20
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: src/graph_builder/graph/converters/chainer.py
Class Name: ChainerGraphConverter
Method Name: convert


Project Name: pantsbuild/pants
Commit Name: cd263663b3332ac10da6721dee8f52804639f19b
Time: 2014-10-01
Author: benjyw@gmail.com
File Name: src/python/pants/option/arg_splitter.py
Class Name: ArgSplitter
Method Name: split_args


Project Name: reinforceio/tensorforce
Commit Name: e5378bb14d019f756361775457f734801e51bbb4
Time: 2017-03-04
Author: mi.schaarschmidt@gmail.com
File Name: tensorforce/execution/thread_runner.py
Class Name: ThreadRunner
Method Name: update


Project Name: SPFlow/SPFlow
Commit Name: 224349c605aabed13cd3b95bcdc8989a39a3bf36
Time: 2018-07-31
Author: molina@cs.tu-darmstadt.de
File Name: src/Documentation/basics.py
Class Name:
Method Name: