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

Method test_dropout_gpu

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

Source from the content-addressed store, hash-verified

1666
1667 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1668 def test_dropout_gpu(self):
1669 self._dropout_helper(gpu_dev)
1670
1671 def _reduceSum_helper(self, dev):
1672 X = np.random.randn(3, 4, 5).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_dropout_helperMethod · 0.95

Tested by

no test coverage detected