8dc869c9450419461e671ac3e74a6893fa9c6572,gluon/gluoncv2/models/deeplabv3.py,DeepLabv3,hybrid_forward,#DeepLabv3#Any#Any#,142
Before Change
def hybrid_forward(self, F, x):
x = self.backbone(x)
x = self.pool(x)
x = self.conv1(x)
x = self.dropout(x)
x = self.conv2(x)
x = F.contrib.BilinearResize2D(x, height=self.in_size[0], width=self.in_size[1])
return x
def get_deeplabv3(backbone,
After Change
bottleneck_factor=4)
def hybrid_forward(self, F, x):
in_size = self.in_size if self.fixed_size else x.shape[2:]
x, y = self.backbone(x)
x = self.pool(x)
x = self.final_block(x, in_size)
if self.aux:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: osmr/imgclsmob
Commit Name: 8dc869c9450419461e671ac3e74a6893fa9c6572
Time: 2019-04-01
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/deeplabv3.py
Class Name: DeepLabv3
Method Name: hybrid_forward
Project Name: rusty1s/pytorch_geometric
Commit Name: f4622e59a087d04bc0628b52c33f0cc9f296223e
Time: 2020-12-24
Author: matthias.fey@tu-dortmund.de
File Name: examples/film.py
Class Name: Net
Method Name: forward
Project Name: osmr/imgclsmob
Commit Name: ed1323aa16f4a5a1b17d32080ae40e1103ec6cca
Time: 2019-04-02
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/deeplabv3.py
Class Name: DeepLabv3
Method Name: forward