d2e27ac0d17c3550ab03162daa01fb6cfdf54294,tests/test_fingerprints.py,,test_sparse_densify,#,68
Before Change
636, 646, 658, 698, 699, 702, 741, 753, 807, 850, 861, 882,
915, 969, 1023]
dense = sparse_to_dense(sparse_fp, size=1024).reshape(1, -1) // at least 2d
csr = sparse_to_csr_matrix(sparse_fp, size=1024)
assert_array_equal(dense, csr.toarray())
After Change
// test stacking
np.random.seed(0)
sparse_fps = np.random.randint(0, 1024, size=(20, 100))
dense = np.vstack(sparse_to_dense(fp, size=1024) for fp in sparse_fps)
csr = sparse_vstack(sparse_to_csr_matrix(fp, size=1024) for fp in sparse_fps)
assert_array_equal(dense, csr.toarray())
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: oddt/oddt
Commit Name: d2e27ac0d17c3550ab03162daa01fb6cfdf54294
Time: 2017-10-10
Author: maciek@wojcikowski.pl
File Name: tests/test_fingerprints.py
Class Name:
Method Name: test_sparse_densify
Project Name: mil-tokyo/webdnn
Commit Name: f6276d38368f18f39a72ee0cd121d9bdb0a1730c
Time: 2017-11-20
Author: y.kikura@gmail.com
File Name: test/runtime/operators_test/im2col_test.py
Class Name:
Method Name: template
Project Name: apache/incubator-mxnet
Commit Name: dd44c0c3bc168b3e88cda22c443283894fd24c54
Time: 2020-09-21
Author: lausen@amazon.com
File Name: python/mxnet/symbol/numpy/_symbol.py
Class Name: _Symbol
Method Name: __getitem__
Project Name: mil-tokyo/webdnn
Commit Name: f6276d38368f18f39a72ee0cd121d9bdb0a1730c
Time: 2017-11-20
Author: y.kikura@gmail.com
File Name: test/runtime/operators_test/col2im_test.py
Class Name:
Method Name: template