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