提交 6a99f986 authored 作者: Marc-Alexandre Cote's avatar Marc-Alexandre Cote

Removed forgotten debug comments.

上级 6850329e
...@@ -41,9 +41,6 @@ class CumsumOp(theano.Op): ...@@ -41,9 +41,6 @@ class CumsumOp(theano.Op):
if self.axis is None: if self.axis is None:
return [cumsum(gi[::-1])[::-1].reshape(inputs[0].shape)] return [cumsum(gi[::-1])[::-1].reshape(inputs[0].shape)]
# from ipdb import set_trace as dbg
# dbg()
# We need to reverse the gradients along ``self.axis``, # We need to reverse the gradients along ``self.axis``,
# compute cumsum, then reverse again # compute cumsum, then reverse again
reverse_slicing = [slice(None,None,None)] * gi.ndim reverse_slicing = [slice(None,None,None)] * gi.ndim
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论