e6cedb89cb0260072acb13ecf7673261522cadf9,src/sdk/pynni/nni/platform/test.py,,get_last_metric,#,35
Before Change
_params = copy.deepcopy(params)
def get_last_metric():
return json_tricks.loads(_last_metric)
After Change
def get_last_metric():
metrics = json_tricks.loads(_last_metric)
metrics["value"] = json_tricks.loads(metrics["value"])
return metrics
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: microsoft/nni
Commit Name: e6cedb89cb0260072acb13ecf7673261522cadf9
Time: 2020-02-17
Author: 38930155+chicm-ms@users.noreply.github.com
File Name: src/sdk/pynni/nni/platform/test.py
Class Name:
Method Name: get_last_metric
Project Name: ray-project/ray
Commit Name: 353d7e107f2b0b6c973ac6def0ba2199157d2f6d
Time: 2020-03-29
Author: xmo@berkeley.edu
File Name: python/ray/serve/queues.py
Class Name: Query
Method Name: ray_deserialize
Project Name: hanxiao/bert-as-service
Commit Name: caa6264e5fcfd54dab6fc7ac10bb39c4ac42b574
Time: 2018-11-14
Author: hanhxiao@tencent.com
File Name: service/client.py
Class Name: BertClient
Method Name: encode