a850be48e6de9afdb04a0dab0c7facda871f623d,src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py,,_split_index,#,164
Before Change
Delete index infromation from params
result = {}
for key in params:
if isinstance (params[key], dict) :
value = params[key][VALUE]
else :
value = params[key]
result[key] = value
return result
class HyperoptTuner (Tuner) :
After Change
Delete index infromation from params
if isinstance (params, list) :
return [params[0], _split_index (params[1 ]) ]
elif isinstance (params, dict) :
if INDEX in params.keys () :
return _split_index (params[VALUE])
result = dict()
for key in params:
result[key] = _split_index(params[key])
return result
else :
return params
class HyperoptTuner (Tuner) :
HyperoptTuner is a tuner which using hyperopt algorithm.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: microsoft/nni
Commit Name: a850be48e6de9afdb04a0dab0c7facda871f623d
Time: 2019-04-28
Author: purityfan@163.com
File Name: src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py
Class Name:
Method Name: _split_index
Project Name: hanxiao/bert-as-service
Commit Name: 54df9f42cac27e4abd11f8faa2f1c93302318bc4
Time: 2019-01-30
Author: hanhxiao@tencent.com
File Name: client/bert_serving/client/__init__.py
Class Name: BertClient
Method Name: _recv
Project Name: hanxiao/bert-as-service
Commit Name: b81c3bf143c79c3e3f4e4511990eb587a528f5d1
Time: 2019-01-30
Author: hanhxiao@tencent.com
File Name: client/bert_serving/client/__init__.py
Class Name: BertClient
Method Name: _recv
Project Name: keras-team/autokeras
Commit Name: 41542e4390b3de8beac4222a9e58925e56c872a5
Time: 2020-05-24
Author: jin@tamu.edu
File Name: autokeras/auto_model.py
Class Name: AutoModel
Method Name: _process_xy