42588e0b073d51124b87b66d04aa41373d462952,keras_/kerascv/models/common.py,,max_pool2d_ceil,#Any#Any#Any#Any#,393

Before Change



    padding0 = 0 if padding == "valid" else strides[0] // 2

    height = x._keras_shape[2 if K.image_data_format() == "channels_first" else 1]
    out_height = float(height + 2 * padding0 - pool_size[0]) / strides[0] + 1.0
    if math.ceil(out_height) > math.floor(out_height):
        assert (strides[0] <= 3)

After Change



    padding0 = 0 if padding == "valid" else strides[0] // 2

    height = x._keras_shape[2 if is_channels_first() else 1]
    out_height = float(height + 2 * padding0 - pool_size[0]) / strides[0] + 1.0
    if math.ceil(out_height) > math.floor(out_height):
        assert (strides[0] <= 3)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: osmr/imgclsmob
Commit Name: 42588e0b073d51124b87b66d04aa41373d462952
Time: 2019-02-10
Author: osemery@gmail.com
File Name: keras_/kerascv/models/common.py
Class Name:
Method Name: max_pool2d_ceil


Project Name: osmr/imgclsmob
Commit Name: 42588e0b073d51124b87b66d04aa41373d462952
Time: 2019-02-10
Author: osemery@gmail.com
File Name: keras_/kerascv/models/shufflenetv2.py
Class Name:
Method Name: shuffle_unit


Project Name: osmr/imgclsmob
Commit Name: 42588e0b073d51124b87b66d04aa41373d462952
Time: 2019-02-10
Author: osemery@gmail.com
File Name: keras_/kerascv/models/shufflenetv2b.py
Class Name:
Method Name: shuffle_unit