827e12f3b9506e0f78cc79445441cd9d1f25c055,chainercv/links/model/yolo/yolov3.py,YOLOv3,__call__,#YOLOv3#Any#,55
Before Change
hs = []
for i, link in enumerate(self):
h = link(h)
if i in {35, 43, 51}:
ys.append(h)
if i in {14, 23, 33, 41}:
hs.append(h)
elif i in {35, 43}:
h = hs.pop()
After Change
def __call__(self, x):
ys = []
for h, link in zip(self.extractor(x), self.subnet):
h = link(h)
h = F.reshape(h, (h.shape[0], 3, 1 + 4 + self.n_fg_class, -1))
h = F.transpose(h, (0, 3, 1, 2))
ys.append(h)
return F.concat(ys)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: chainer/chainercv
Commit Name: 827e12f3b9506e0f78cc79445441cd9d1f25c055
Time: 2018-04-24
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/links/model/yolo/yolov3.py
Class Name: YOLOv3
Method Name: __call__
Project Name: evilsocket/pwnagotchi
Commit Name: 90b0e10e81a5a0e03753715ec1034278bdd5f600
Time: 2019-10-07
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/default/api.py
Class Name:
Method Name: parse_pcap
Project Name: keras-team/autokeras
Commit Name: 41c99fbf385a8c875fb6181ce7301e4bc218535b
Time: 2020-04-18
Author: jhfjhfj1@gmail.com
File Name: autokeras/keras_layers.py
Class Name: CategoricalEncoding
Method Name: call