53ec990d54130dd0a457dd235c93d39de32d571d,tests/keras/applications/applications_test.py,,test_nasnet,#,352

Before Change


                    reason="NASNets are supported only on TensorFlow")
def test_nasnet():
    model = applications.NASNetMobile(weights=None)
    assert model.output_shape == (None, 1000)

    model = applications.NASNetLarge(weights=None)
    assert model.output_shape == (None, 1000)

After Change


                    reason="NASNets are supported only on TensorFlow")
def test_nasnet():
    random.seed(time.time())
    fun, _ = random.choice(NASNET_LIST)
    model = fun(weights=None)
    assert model.output_shape == (None, 1000)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet_pooling


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet_variable_input_channels


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet_no_top