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

Method test_avg_pool_gpu

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

Source from the content-addressed store, hash-verified

124
125 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
126 def test_avg_pool_gpu(self):
127 self._avg_pool_helper(gpu_dev)
128
129 def _softmax_helper(self, dev):
130 X = np.array([[-1, 0, 1]]).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_avg_pool_helperMethod · 0.95

Tested by

no test coverage detected