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

Method test_max_pool_gpu

test/python/test_onnx.py:291–292  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289
290 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
291 def test_max_pool_gpu(self):
292 self._max_pool_helper(gpu_dev)
293
294 def _batch_norm_helper(self, dev):
295 x = np.array([[[[-1, 0, 1]], [[2, 3, 4]]]]).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_max_pool_helperMethod · 0.95

Tested by

no test coverage detected