d5fdcbf3bae3ea85cb89394147db4b1da0105fb4,python/mxnet/gluon/trainer.py,Trainer,__init__,#Trainer#Any#Any#Any#Any#Any#Any#,78
Before Change
for key in sorted(list(params.keys())):
param_list.append(params[key])
params = param_list
if not isinstance(params, (list, tuple)):
raise ValueError(
"First argument must be a list or dict of Parameters, " \
"got %s."%(type(params)))
self._params = []
// parameters to initialize on the kvstore
self._contains_sparse_weight = False
self._contains_sparse_grad = False
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 = []
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: scipy/scipy
Commit Name: cee579974fd1c9663a81ce0059def9860d6f79aa
Time: 2016-03-01
Author: andyfaff@gmail.com
File Name: scipy/optimize/_basinhopping.py
Class Name: BasinHoppingRunner
Method Name: _monte_carlo_step
Project Name: Microsoft/nni
Commit Name: b7366b685afdde156e551f8ba5008857f789e368
Time: 2019-02-11
Author: 871886504@qq.com
File Name: tools/nni_annotation/code_generator.py
Class Name:
Method Name: test_variable_equal