c1d2e0e7dc79e4f1a91ef007771347e475f301e5,gluon/gluoncv2/models/bninception.py,Inception3x3Branch,__init__,#Inception3x3Branch#Any#Any#Any#Any#Any#,34
Before Change
**kwargs):
super(Inception3x3Branch, self).__init__(**kwargs)
with self.name_scope():
self.conv1 = conv1x1_block(
in_channels=in_channels,
out_channels=mid_channels,
use_bias=True,
bn_use_global_stats=bn_use_global_stats)
self.conv2 = conv3x3_block(
in_channels=mid_channels,
out_channels=out_channels,
strides=strides,
use_bias=True,
bn_use_global_stats=bn_use_global_stats)
def hybrid_forward(self, F, x):
x = self.conv1(x)
x = self.conv2(x)
After Change
use_bias=use_bias,
use_bn=use_bn,
bn_use_global_stats=bn_use_global_stats)
self.conv3 = conv3x3_block(
in_channels=out_channels,
out_channels=out_channels,
strides=strides,
use_bias=use_bias,
use_bn=use_bn,
bn_use_global_stats=bn_use_global_stats)
def hybrid_forward(self, F, x):
x = self.conv1(x)
x = self.conv2(x)
x = self.conv3(x)
return x
class InceptionPoolBranch(HybridBlock):
BN-Inception avg-pool branch block.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: osmr/imgclsmob
Commit Name: c1d2e0e7dc79e4f1a91ef007771347e475f301e5
Time: 2019-08-20
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/bninception.py
Class Name: Inception3x3Branch
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: c1d2e0e7dc79e4f1a91ef007771347e475f301e5
Time: 2019-08-20
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/bninception.py
Class Name: InceptionDouble3x3Branch
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: c1d2e0e7dc79e4f1a91ef007771347e475f301e5
Time: 2019-08-20
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/bninception.py
Class Name: Inception3x3Branch
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: c790ec7ea5053731431409a7a4f8f9563d780425
Time: 2021-02-12
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/_sqnet.py
Class Name: FireBlock
Method Name: __init__