提交 7733f88b authored 作者: Razvan Pascanu's avatar Razvan Pascanu

R operator for alloc

上级 7ed2b04f
...@@ -2489,6 +2489,8 @@ class Alloc(gof.Op): ...@@ -2489,6 +2489,8 @@ class Alloc(gof.Op):
pass pass
return ret return ret
def R_op(self, inputs, eval_points):
return [None]
alloc = Alloc() alloc = Alloc()
pprint.assign(alloc, printing.FunctionPrinter('alloc')) pprint.assign(alloc, printing.FunctionPrinter('alloc'))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论