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

Method test_cossim_value_cpu

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

Source from the content-addressed store, hash-verified

3605 self._cossim_value(gpu_dev)
3606
3607 def test_cossim_value_cpu(self):
3608 self._cossim_value(cpu_dev)
3609
3610 def test_mse_loss_value(self, dev=cpu_dev):
3611 y = np.random.random((1000, 1200)).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_cossim_valueMethod · 0.95

Tested by

no test coverage detected