提交 1f3c1f6a authored 作者: Ramana.S's avatar Ramana.S

changed corresponding to the upstream

上级 e3a0aee5
......@@ -738,7 +738,7 @@ class PureOp(object):
"own op, implement the R_op method." %
(self, self.__class__.__name__))
def perform(self, node, inputs, output_storage):
def perform(self, node, inputs, output_storage, params=None):
"""
Required: Calculate the function on the inputs and put the variables in
the output storage. Return None.
......@@ -771,7 +771,9 @@ class PureOp(object):
"""
raise utils.MethodNotDefined(
"perform", type(self), self.__class__.__name__)
"perform", type(self), self.__class__.__name__,
"Did you used Theano flags mode=FAST_COMPILE?"
" You can use optimizer=fast_compile instead.")
def do_constant_folding(self, node):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论