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

Method test_pooling2d_same_pad_gpu

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

Source from the content-addressed store, hash-verified

237
238 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
239 def test_pooling2d_same_pad_gpu(self):
240 self._pooling_same_pad(gpu_dev, "SAME_LOWER", True)
241 self._pooling_same_pad(gpu_dev, "SAME_UPPER", True)
242
243 def test_pooling1d_same_pad_cpu(self):
244 self._pooling_same_pad(cpu_dev, "SAME_LOWER", False)

Callers

nothing calls this directly

Calls 1

_pooling_same_padMethod · 0.95

Tested by

no test coverage detected