71a791cb71ef7080ea150152633a90e7821070af,tests/keras/applications/applications_test.py,,test_inceptionresnetv2_variable_input_channels,#,211
Before Change
input_shape = (1, None, None)
model = applications.InceptionResNetV2(weights=None, include_top=False, input_shape=input_shape)
assert model.output_shape == (None, 1536, None, None)
input_shape = (4, None, None)
model = applications.InceptionResNetV2(weights=None, include_top=False, input_shape=input_shape)
assert model.output_shape == (None, 1536, None, None)
K.set_image_data_format("channels_last")
After Change
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)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/keras
Commit Name: 71a791cb71ef7080ea150152633a90e7821070af
Time: 2017-09-21
Author: myutwo150@users.noreply.github.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_variable_input_channels
Project Name: hanxiao/bert-as-service
Commit Name: dae978a935dec95944c9fd8448318c4bc3acf26b
Time: 2018-11-26
Author: hanhxiao@tencent.com
File Name: example3.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: 9a50d7bece2e09093f7eec251fc2be5736b131da
Time: 2018-01-09
Author: myutwo150@users.noreply.github.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_densenet_variable_input_channels