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

Method test_conv1d_same_pad_cpu

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

Source from the content-addressed store, hash-verified

193 self._conv_same_pad(gpu_dev, "SAME_UPPER", True)
194
195 def test_conv1d_same_pad_cpu(self):
196 self._conv_same_pad(cpu_dev, "SAME_LOWER", False)
197 self._conv_same_pad(cpu_dev, "SAME_UPPER", False)
198
199 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
200 def test_conv1d_same_pad_gpu(self):

Callers

nothing calls this directly

Calls 1

_conv_same_padMethod · 0.95

Tested by

no test coverage detected