15ce1472110d211e39fc1c362a7dbdd713f142e7,tests/chainer_tests/functions_tests/pooling_tests/test_roi_pooling_2d.py,TestROIPooling2D,setUp,#TestROIPooling2D#,18
Before Change
def setUp(self):
N = 3
n_channels = 3
self.x = numpy.arange(
N * n_channels * 12 * 8,
dtype=numpy.float32).reshape((N, n_channels, 12, 8))
numpy.random.shuffle(self.x)
self.x = (2 * self.x / self.x.size - 1).astype(self.dtype)
self.rois = numpy.array([
[0, 1, 1, 6, 6],
[2, 6, 2, 7, 11],
[1, 3, 1, 5, 10],
After Change
def setUp(self):
N = 3
n_channels = 3
self.x = pooling_nd_helper.shuffled_linspace(
(N, n_channels, 12, 8), self.dtype)
self.rois = numpy.array([
[0, 1, 1, 6, 6],
[2, 6, 2, 7, 11],
[1, 3, 1, 5, 10],
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 31
Instances
Project Name: chainer/chainer
Commit Name: 15ce1472110d211e39fc1c362a7dbdd713f142e7
Time: 2019-10-28
Author: kataoka@preferred.jp
File Name: tests/chainer_tests/functions_tests/pooling_tests/test_roi_pooling_2d.py
Class Name: TestROIPooling2D
Method Name: setUp
Project Name: chainer/chainer
Commit Name: 15ce1472110d211e39fc1c362a7dbdd713f142e7
Time: 2019-10-28
Author: kataoka@preferred.jp
File Name: tests/chainer_tests/functions_tests/pooling_tests/test_roi_average_pooling_2d.py
Class Name: TestROIAveragePooling2D
Method Name: setUp
Project Name: chainer/chainer
Commit Name: 15ce1472110d211e39fc1c362a7dbdd713f142e7
Time: 2019-10-28
Author: kataoka@preferred.jp
File Name: tests/chainer_tests/functions_tests/pooling_tests/test_roi_pooling_2d.py
Class Name: TestROIPooling2D
Method Name: setUp
Project Name: chainer/chainer
Commit Name: 15ce1472110d211e39fc1c362a7dbdd713f142e7
Time: 2019-10-28
Author: kataoka@preferred.jp
File Name: tests/chainer_tests/functions_tests/pooling_tests/test_roi_max_pooling_2d.py
Class Name: TestROIMaxPooling2D
Method Name: setUp