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

Method test_tensor_arithmetic_op_broadcast_cpu

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

Source from the content-addressed store, hash-verified

282 _run_test(dev, s_op, n_op, [3, 4, 5], [2, 1, 1, 1]) # 345+2111=2345
283
284 def test_tensor_arithmetic_op_broadcast_cpu(self):
285 self._tensor_arithmetic_op_broadcast_helper(cpu_dev)
286
287 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
288 def test_tensor_arithmetic_op_broadcast_gpu(self):

Callers

nothing calls this directly

Tested by

no test coverage detected