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

Method test_where_cpu

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

Source from the content-addressed store, hash-verified

3475 tensor.to_numpy(tensor.from_raw_tensor(dx2)), dx2_t)
3476
3477 def test_where_cpu(self):
3478 self.where_helper(cpu_dev)
3479
3480 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
3481 def test_where_gpu(self):

Callers

nothing calls this directly

Calls 1

where_helperMethod · 0.95

Tested by

no test coverage detected