d5fdcbf3bae3ea85cb89394147db4b1da0105fb4,python/mxnet/gluon/trainer.py,Trainer,__init__,#Trainer#Any#Any#Any#Any#Any#Any#,78

Before Change


                 compression_params=None, update_on_kvstore=None):
        param_list = []
        if isinstance(params, (dict, OrderedDict)):
            for key in sorted(list(params.keys())):
                param_list.append(params[key])
            params = param_list
        if not isinstance(params, (list, tuple)):

After Change


                    "got list of %s."%(type(p)))
            param_list.append(p)
            // Shared parameters have same uuid; only need to store one of the shared versions
            if p._uuid in self._param2name:
                continue
            self._param2name[p._uuid] = name
        params = param_list

        self._params = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: apache/incubator-mxnet
Commit Name: d5fdcbf3bae3ea85cb89394147db4b1da0105fb4
Time: 2020-08-07
Author: linhaibin.eric@gmail.com
File Name: python/mxnet/gluon/trainer.py
Class Name: Trainer
Method Name: __init__


Project Name: oddt/oddt
Commit Name: 9c90d0a3c85e6ce7b81df471c8e150d025058832
Time: 2018-05-17
Author: maciek@wojcikowski.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: PreparePDBMol


Project Name: pyannote/pyannote-audio
Commit Name: 2fcc7e8c87bd3d8f44b491d1f43be7002a2db6d7
Time: 2019-04-08
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/tasks/base.py
Class Name: LabelingTaskGenerator
Method Name: _load_metadata