提交 a38a44a8 authored 作者: Gijs van Tulder's avatar Gijs van Tulder

Fix typo: theano.gradients -> theano.gradient

上级 8590f4a7
...@@ -610,7 +610,7 @@ class DownsampleFactorMaxGrad(Op): ...@@ -610,7 +610,7 @@ class DownsampleFactorMaxGrad(Op):
else: else:
return [theano.tensor.zeros_like(x), return [theano.tensor.zeros_like(x),
theano.tensor.zeros_like(maxout), theano.tensor.zeros_like(maxout),
theano.gradients.grad_not_implemented( theano.gradient.grad_not_implemented(
self, 2, gz, 'Hessian not implemented with padding')] self, 2, gz, 'Hessian not implemented with padding')]
def c_code(self, node, name, inp, out, sub): def c_code(self, node, name, inp, out, sub):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论