6c9dd18771c43962ac12b4c44e4a63273271c6bb,gluon/gluoncv2/models/inceptionv3.py,InceptionCUnit,__init__,#InceptionCUnit#Any#Any#,471
Before Change
bn_use_global_stats,
**kwargs):
super(InceptionCUnit, self).__init__(**kwargs)
with self.name_scope():
self.branches = HybridConcurrent(axis=1, prefix="")
self.branches.add(Conv1x1Branch(
in_channels=in_channels,
out_channels=320,
bn_use_global_stats=bn_use_global_stats))
self.branches.add(ConvSeq3x3Branch(
in_channels=in_channels,
out_channels_list=(384,),
kernel_size_list=(1,),
strides_list=(1,),
padding_list=(0,),
bn_use_global_stats=bn_use_global_stats))
self.branches.add(ConvSeq3x3Branch(
in_channels=in_channels,
out_channels_list=(448, 384),
kernel_size_list=(1, 3),
strides_list=(1, 1),
padding_list=(0, 1),
bn_use_global_stats=bn_use_global_stats))
self.branches.add(AvgPoolBranch(
in_channels=in_channels,
out_channels=192,
bn_use_global_stats=bn_use_global_stats))
def hybrid_forward(self, F, x):
x = self.branches(x)
return x
After Change
Parameters:
----------
in_channels : int
Number of input channels.
out_channels : int
Number of output channels.
mid_channels : int
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: osmr/imgclsmob
Commit Name: 6c9dd18771c43962ac12b4c44e4a63273271c6bb
Time: 2018-10-31
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/inceptionv3.py
Class Name: InceptionCUnit
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 6c9dd18771c43962ac12b4c44e4a63273271c6bb
Time: 2018-10-31
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/inceptionv3.py
Class Name: ReductionAUnit
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 6c9dd18771c43962ac12b4c44e4a63273271c6bb
Time: 2018-10-31
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/inceptionv3.py
Class Name: ReductionBUnit
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 6c9dd18771c43962ac12b4c44e4a63273271c6bb
Time: 2018-10-31
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/inceptionv3.py
Class Name: InceptionBUnit
Method Name: __init__