3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097,tests/keras/applications/applications_test.py,,test_inceptionresnetv2_variable_input_channels,#,240

Before Change


        model = applications.InceptionResNetV2(weights=None, include_top=False, input_shape=input_shape)
        queue.put(model.output_shape)

    queue = Queue()
    p = Process(target=target, args=(queue, (None, None, 1)))
    p.start()
    p.join()
    assert not queue.empty(), "Model creation failed."
    model_output_shape = queue.get_nowait()
    assert model_output_shape == (None, None, None, 1536)

    p = Process(target=target, args=(queue, (None, None, 4)))
    p.start()
    p.join()
    assert not queue.empty(), "Model creation failed."
    model_output_shape = queue.get_nowait()
    assert model_output_shape == (None, None, None, 1536)


@keras_test

After Change


    output_shape = clean_run(lambda: model_fn((None, None, 1)))
    assert output_shape == (None, None, None, 1536)

    output_shape = clean_run(lambda: model_fn((None, None, 4)))
    assert output_shape == (None, None, None, 1536)


@keras_test
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 17

Instances


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_variable_input_channels


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_variable_input_channels


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_densenet_variable_input_channels


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_notop