提交 5afe1765 authored 作者: Ying Zhang's avatar Ying Zhang

modify arg in pprint.assign

上级 ae7722e1
...@@ -2819,7 +2819,7 @@ def tensor_copy(input): ...@@ -2819,7 +2819,7 @@ def tensor_copy(input):
"""Create a duplicate of a tensor `input` with duplicated storage.""" """Create a duplicate of a tensor `input` with duplicated storage."""
return elemwise.Elemwise(scal.identity)(input) return elemwise.Elemwise(scal.identity)(input)
pprint.assign(tensor_copy, printing.IgnorePrinter()) pprint.assign(elemwise.Elemwise(scal.identity), printing.IgnorePrinter())
@constructor @constructor
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论