MCPcopy Create free account
hub / github.com/apache/singa / test_pooling2d_same_pad_cpu

Method test_pooling2d_same_pad_cpu

test/python/test_operation.py:234–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232 self.check_shape(dx.shape(), (3, 3, x_h, 32))
233
234 def test_pooling2d_same_pad_cpu(self):
235 self._pooling_same_pad(cpu_dev, "SAME_LOWER", True)
236 self._pooling_same_pad(cpu_dev, "SAME_UPPER", True)
237
238 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
239 def test_pooling2d_same_pad_gpu(self):

Callers

nothing calls this directly

Calls 1

_pooling_same_padMethod · 0.95

Tested by

no test coverage detected