提交 4e78cf82 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

add node as an argument to the cython function

上级 674c99fc
...@@ -618,7 +618,7 @@ class Scan(PureOp): ...@@ -618,7 +618,7 @@ class Scan(PureOp):
cython_destroy_map, cython_destroy_map,
args, args,
outs, outs,
self) self, node)
except (ImportError, theano.gof.cmodule.MissingGXX): except (ImportError, theano.gof.cmodule.MissingGXX):
p = self.execute p = self.execute
# default arguments are stored in the closure of `rval` # default arguments are stored in the closure of `rval`
......
...@@ -88,7 +88,8 @@ def perform( ...@@ -88,7 +88,8 @@ def perform(
numpy.ndarray[numpy.int32_t,ndim=1] destroy_map, numpy.ndarray[numpy.int32_t,ndim=1] destroy_map,
args, args,
outs, outs,
self): self,
node):
""" """
Parameters Parameters
---------- ----------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论