3c35a25a42d6ad5ce4218c42d194158c4a9c990f,gluon/gluoncv2/models/hrnet.py,HRBlock,__init__,#HRBlock#Any#Any#Any#Any#Any#,72
Before Change
fuse_layer.add(Identity())
else:
conv3x3_seq = nn.HybridSequential(prefix="conv3x3_seq{}_".format(j + 1))
for k in range(i - j):
if k == i - j - 1:
conv3x3_seq.add(conv3x3_block(
in_channels=in_channels_list[j],
out_channels=in_channels_list[i],
strides=2,
activation=None,
bn_use_global_stats=bn_use_global_stats))
else:
conv3x3_seq.add(conv3x3_block(
in_channels=in_channels_list[j],
out_channels=in_channels_list[j],
strides=2,
bn_use_global_stats=bn_use_global_stats))
fuse_layer.add(conv3x3_seq)
self.fuse_layers.add(fuse_layer)
self.activ = nn.Activation("relu")
After Change
fuse_layer.add(Identity())
else:
conv3x3_seq = nn.HybridSequential(prefix="conv3x3seq{}_".format(j + 1))
with conv3x3_seq.name_scope():
for k in range(i - j):
if k == i - j - 1:
conv3x3_seq.add(conv3x3_block(
in_channels=in_channels_list[j],
out_channels=in_channels_list[i],
strides=2,
activation=None,
bn_use_global_stats=bn_use_global_stats))
else:
conv3x3_seq.add(conv3x3_block(
in_channels=in_channels_list[j],
out_channels=in_channels_list[j],
strides=2,
bn_use_global_stats=bn_use_global_stats))
fuse_layer.add(conv3x3_seq)
self.fuse_layers.add(fuse_layer)
self.activ = nn.Activation("relu")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: osmr/imgclsmob
Commit Name: 3c35a25a42d6ad5ce4218c42d194158c4a9c990f
Time: 2020-01-10
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/hrnet.py
Class Name: HRBlock
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 8dce4fb6d91c6ee2101c3fba2e337aa3f4335f0c
Time: 2018-08-02
Author: osemery@gmail.com
File Name: gluon/models/darknet.py
Class Name: DarkNet
Method Name: __init__
Project Name: rlworkgroup/garage
Commit Name: 4ef810643f162aebb1d9efd153a82e0dc9e9094e
Time: 2018-07-20
Author: 35857569+gonzaiva@users.noreply.github.com
File Name: garage/tf/optimizers/conjugate_gradient_optimizer.py
Class Name: ConjugateGradientOptimizer
Method Name: update_opt