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

Method test_conv2d_same_pad_cpu

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

Source from the content-addressed store, hash-verified

184 self.check_shape(dW.shape(), (3, 3, w_h, 4))
185
186 def test_conv2d_same_pad_cpu(self):
187 self._conv_same_pad(cpu_dev, "SAME_LOWER", True)
188 self._conv_same_pad(cpu_dev, "SAME_UPPER", True)
189
190 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
191 def test_conv2d_same_pad_gpu(self):

Callers

nothing calls this directly

Calls 1

_conv_same_padMethod · 0.95

Tested by

no test coverage detected