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

Method test_max_gpu

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

Source from the content-addressed store, hash-verified

1560
1561 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1562 def test_max_gpu(self):
1563 self._max_helper(gpu_dev)
1564
1565 def _max_3inputs_helper(self, dev):
1566 data_0 = np.array([3, 2, 1]).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_max_helperMethod · 0.95

Tested by

no test coverage detected