提交 ae7722e1 authored 作者: Ying Zhang's avatar Ying Zhang

delete constructor

上级 04cf0bdc
...@@ -2815,7 +2815,6 @@ alloc = Alloc() ...@@ -2815,7 +2815,6 @@ alloc = Alloc()
pprint.assign(alloc, printing.FunctionPrinter('alloc')) pprint.assign(alloc, printing.FunctionPrinter('alloc'))
@constructor
def tensor_copy(input): 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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论