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

Method test_pooling1d_same_pad_gpu

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

Source from the content-addressed store, hash-verified

246
247 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
248 def test_pooling1d_same_pad_gpu(self):
249 self._pooling_same_pad(gpu_dev, "SAME_LOWER", False)
250 self._pooling_same_pad(gpu_dev, "SAME_UPPER", False)
251
252 def _sum_helper(self, dev):
253 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_pooling_same_padMethod · 0.95

Tested by

no test coverage detected