ccd8a225512ac736b181792c72a3d45e4ff3160b,keras_/models/darknet.py,,dark_conv,#Any#Any#Any#Any#Any#Any#,13
Before Change
padding=ke_padding,
use_bias=False,
name=name + "/conv")(x)
x = nn.BatchNormalization(
axis=-1,
momentum=0.9,
epsilon=1e-5,
name=name+"/bn")(x)
x = nn.LeakyReLU(alpha=0.1, name=name+"/activ")(x)
return x
After Change
padding=ke_padding,
use_bias=False,
name=name + "/conv")
bn = nn.BatchNormalization(
axis=(1 if K.image_data_format() == "channels_first" else 3),
momentum=0.9,
epsilon=1e-5,
name=name+"/bn")
activ = nn.LeakyReLU(alpha=0.1, name=name+"/activ")
x = conv(x)
x = bn(x)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: osmr/imgclsmob
Commit Name: ccd8a225512ac736b181792c72a3d45e4ff3160b
Time: 2018-09-21
Author: osemery@gmail.com
File Name: keras_/models/darknet.py
Class Name:
Method Name: dark_conv
Project Name: inspirehep/magpie
Commit Name: 28b8b9d39f53d8327dbf658048a81b7046ae398f
Time: 2017-10-08
Author: stypka@spotify.com
File Name: magpie/nn/models.py
Class Name:
Method Name: rnn
Project Name: onnx/onnxmltools
Commit Name: 80e1d0aba201d45ba32542327ab1a63e074a759e
Time: 2018-05-11
Author: wschin@outlook.com
File Name: tests/end2end/test_single_operator_with_cntk_backend.py
Class Name: TestKeras2CoreML2ONNX
Method Name: test_batch_normalization