6cb62da4205e52f91c9c8fd94dbcdfaca717eb36,benchmarking/frameworks/caffe2/caffe2.py,Caffe2Framework,_collectDelayData,#Caffe2Framework#Any#Any#Any#,303
Before Change
(useful_rows[i].find(self.DELAYS_START) >= 0)):
result = {}
i = self._parseDelayData(useful_rows, result, i)
if (len(result) > 1) and (self.NET_DELAY in result):
// operator delay. Need to strip the net delay from it
del result[self.NET_DELAY]
results.append(result)
i += 1
if len(results) > total_num:
After Change
row = useful_rows[i]
valid_row = row[(row.find(self.IDENTIFIER) + len(self.IDENTIFIER)):]
try:
result = json.loads(valid_row)
results.append(result)
except Exception as e:
// bypass one line
getLogger().info(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: facebook/FAI-PEP
Commit Name: 6cb62da4205e52f91c9c8fd94dbcdfaca717eb36
Time: 2018-06-04
Author: 34827865+llyfacebook@users.noreply.github.com
File Name: benchmarking/frameworks/caffe2/caffe2.py
Class Name: Caffe2Framework
Method Name: _collectDelayData
Project Name: explosion/spaCy
Commit Name: 01858e9b5972a8c1dec86f88eef3f17fea63cdc6
Time: 2017-09-20
Author: honnibal+gh@gmail.com
File Name: examples/multi_word_matches.py
Class Name:
Method Name: read_gazetteer
Project Name: rlworkgroup/garage
Commit Name: 055b455ba18abcb8b7488a0b03da1fd8b8ab0216
Time: 2020-08-15
Author: ericyihc@gmail.com
File Name: tests/garage/tf/envs/test_gym_base.py
Class Name: TestGymEnv
Method Name: test_all_gym_envs_pickleable