提交 f89e86ef authored 作者: Frederic Bastien's avatar Frederic Bastien

give the same default value to gpu op paramter then cpu op.

上级 5753e717
......@@ -72,7 +72,7 @@ class GpuElemwise(Op):
nin = property(lambda self: self.scalar_op.nin)
nout = property(lambda self: self.scalar_op.nout)
def __init__(self, scalar_op, inplace_pattern, sync=None):
def __init__(self, scalar_op, inplace_pattern = {}, sync=None):
##
# TODO: implement inplace operations.
# It's ok that we set the DestroyMap to something but then don't actually destroy
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论