Skip to content

Commit

Permalink
correcting grad_not_implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
Sina Honari committed Dec 18, 2014
1 parent a925585 commit 7518621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theano/tensor/signal/downsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def grad(self, inp, grads):
ggx, = grads
if self.st != self.ds:
return [theano.gradient.grad_not_implemented(self, 0, x),
theano.gradient.grad_not_implemented(self, 1, maxout)
theano.gradient.grad_not_implemented(self, 1, maxout),
theano.gradient.grad_not_implemented(self, 2, gz)]
return [theano.tensor.zeros_like(x),
theano.tensor.zeros_like(maxout),
Expand Down

0 comments on commit 7518621

Please sign in to comment.