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

Method test_constantOfShape_gpu

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

Source from the content-addressed store, hash-verified

2720
2721 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
2722 def test_constantOfShape_gpu(self):
2723 self.constantOfShape_test(gpu_dev)
2724
2725 def dropout_test(self, dev):
2726 X = np.random.randn(3, 4, 5).astype(np.float32)

Callers

nothing calls this directly

Calls 1

constantOfShape_testMethod · 0.95

Tested by

no test coverage detected