4633d81c390fd33d54aa62a5eb43fe104062bb41,python/ray/tune/tests/test_experiment_analysis_mem.py,ExperimentAnalysisInMemorySuite,testCompareTrials,#ExperimentAnalysisInMemorySuite#,44
Before Change
def testCompareTrials(self):
self.test_dir = tempfile.mkdtemp()
scores_all = [5, 4, 2, 9, 7, 0, 1, 8, 6, 3]
scores_last = scores_all[5:]
ea = run(
self.MockTrainable,
After Change
def testCompareTrials(self):
self.test_dir = tempfile.mkdtemp()
scores = np.asarray(list(self.MockTrainable.scores_dict.values()))
scores_all = scores.flatten("F")
scores_last = scores_all[5:]
ea = run(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: 4633d81c390fd33d54aa62a5eb43fe104062bb41
Time: 2020-05-14
Author: krfricke@users.noreply.github.com
File Name: python/ray/tune/tests/test_experiment_analysis_mem.py
Class Name: ExperimentAnalysisInMemorySuite
Method Name: testCompareTrials
Project Name: microsoft/nni
Commit Name: 10d7ece1c34c5533262a54d20d974a3d04f0b7ce
Time: 2020-09-15
Author: 40699903+liuzhe-lz@users.noreply.github.com
File Name: src/sdk/pynni/nni/compression/tensorflow/compressor.py
Class Name: Compressor
Method Name: __init__
Project Name: hanxiao/bert-as-service
Commit Name: bdae8f37c4a2dc01d3db6f6ff41c473231af581b
Time: 2018-11-13
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name: