Did I find the right examples for you? yes no

All Samples(15)  |  Call(15)  |  Derive(0)  |  Import(0)

src/c/o/convolupy-HEAD/tests.py   convolupy(Download)
    def test_bprop_raises(self):
        obj = self._moduleclass()
        obj.bprop(np.array([[0]]), np.array([[0]]))
 
    @raises(NotImplementedError)
    def test_fprop_raises(self):
        obj = self._moduleclass()
    def test_too_many_filter_dims(self):
        foo = self._moduleclass((5, 5, 7), (6, 6))
 
    @raises(ValueError)
    def test_too_few_filter_dims(self):
        foo = self._moduleclass((5,), (6, 6))
 
    @raises(ValueError)
    def test_not_odd_filter_dims(self):
        foo = self._moduleclass((5, 4), (6, 6))