Skip to content

Commit

Permalink
enabling the c code for DownsampleFactorMax when st==ds, issue Theano…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sina Honari committed Dec 17, 2014
1 parent 84c5191 commit bf64aee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion theano/tensor/signal/downsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ def grad(self, inp, grads):
st=self.st)(
x, maxout, gz)]

def c_code_tmp(self, node, name, inp, out, sub):
def c_code(self, node, name, inp, out, sub):
if self.ds != self.st:
raise theano.gof.utils.MethodNotDefined()
x, = inp
z, = out
fail = sub['fail']
Expand Down

0 comments on commit bf64aee

Please sign in to comment.