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

Method test_erf_cpu

test/python/test_api.py:353–354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

351 # np.testing.assert_array_almost_equal(erf(np1), tensor.to_numpy(y1))
352
353 def test_erf_cpu(self):
354 self._erf(cpu_dev)
355
356 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
357 def test_transpose_and_arithmetic_op_broadcast_gpu(self):

Callers

nothing calls this directly

Calls 1

_erfMethod · 0.95

Tested by

no test coverage detected