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

Method test_ceil_cpu

test/python/test_tensor.py:398–399  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

396 np.testing.assert_array_almost_equal(tensor.to_numpy(t2), np2)
397
398 def test_ceil_cpu(self):
399 self._ceil_helper(cpu_dev)
400
401 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
402 def test_ceil_gpu(self):

Callers

nothing calls this directly

Calls 1

_ceil_helperMethod · 0.95

Tested by

no test coverage detected