8cc023c568f2cdcdf5c34c5fa1b76090073bca73,gluon/gluoncv2/models/resattnet.py,,_test,#,524
Before Change
assert (model != resattnet236 or weight_count == 103778984)
assert (model != resattnet452 or weight_count == 182285224)
x = Variable(torch.randn(1, 3, 224, 224))
y = net(x)
assert (tuple(y.size()) == (1, 1000))
After Change
assert (model != resattnet236 or weight_count == 103778984)
assert (model != resattnet452 or weight_count == 182285224)
x = mx.nd.zeros((1, 3, 224, 224), ctx=ctx)
y = net(x)
assert (y.shape == (1, 1000))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: osmr/imgclsmob
Commit Name: 8cc023c568f2cdcdf5c34c5fa1b76090073bca73
Time: 2018-12-04
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/resattnet.py
Class Name:
Method Name: _test
Project Name: librosa/librosa
Commit Name: 1c522b8108be1fd4d3628bc52fa224c7c9350af5
Time: 2014-12-29
Author: brian.mcfee@nyu.edu
File Name: tests/test_failures.py
Class Name:
Method Name: test_valid_stereo
Project Name: osmr/imgclsmob
Commit Name: a72a5b05d8edcde1e1bbb808ed26d5c858b112d5
Time: 2018-08-27
Author: osemery@gmail.com
File Name: gluon/models/dpn.py
Class Name:
Method Name: _test
Project Name: librosa/librosa
Commit Name: 1c522b8108be1fd4d3628bc52fa224c7c9350af5
Time: 2014-12-29
Author: brian.mcfee@nyu.edu
File Name: tests/test_failures.py
Class Name:
Method Name: test_mono_valid_stereo