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

Method test_floor_cpu

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

Source from the content-addressed store, hash-verified

2897 np.testing.assert_array_almost_equal(tensor.to_numpy(tensor.from_raw_tensor(dx)),DX,decimal=5)
2898
2899 def test_floor_cpu(self):
2900 self.floor_test(cpu_dev)
2901
2902 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
2903 def test_floor_gpu(self):

Callers

nothing calls this directly

Calls 1

floor_testMethod · 0.95

Tested by

no test coverage detected