f65a562d8266b769e16cc2cd14f0049720e8d81c,tests/keras/applications/applications_test.py,,test_inceptionresnetv2,#,215

Before Change


    def model_fn():
        return applications.InceptionResNetV2(weights=None)
    output_shape = clean_run(model_fn)
    assert output_shape == (None, 1000)


@keras_test
def test_inceptionresnetv2_notop():

After Change




def test_inceptionresnetv2():
    app = applications.InceptionResNetV2
    last_dim = 1536
    _test_application_basic(app)
    _test_application_notop(app, last_dim)
    _test_application_variable_input_channels(app, last_dim)
    _test_app_pooling(app, last_dim)


@pytest.mark.skipif((K.backend() != "tensorflow"),
                    reason="MobileNets are supported only on TensorFlow")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 8

Instances


Project Name: keras-team/keras
Commit Name: f65a562d8266b769e16cc2cd14f0049720e8d81c
Time: 2018-01-19
Author: francois.chollet@gmail.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2


Project Name: keras-team/keras
Commit Name: f65a562d8266b769e16cc2cd14f0049720e8d81c
Time: 2018-01-19
Author: francois.chollet@gmail.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_resnet50


Project Name: keras-team/keras
Commit Name: f65a562d8266b769e16cc2cd14f0049720e8d81c
Time: 2018-01-19
Author: francois.chollet@gmail.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_xception


Project Name: keras-team/keras
Commit Name: f65a562d8266b769e16cc2cd14f0049720e8d81c
Time: 2018-01-19
Author: francois.chollet@gmail.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionv3


Project Name: keras-team/keras
Commit Name: f65a562d8266b769e16cc2cd14f0049720e8d81c
Time: 2018-01-19
Author: francois.chollet@gmail.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_mobilenet