提交 ab29559f authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Remove tensor.view(), that does not work and has never been used.

I'm positive that it has never been used, because there's an error in its definition, that would raise an error as soon as we try to call it.
上级 aaa62838
......@@ -2303,11 +2303,6 @@ def tensor_copy(a):
"""Create a duplicate of `a` (with duplicated storage)"""
pprint.assign(tensor_copy, printing.IgnorePrinter())
@_redefine(elemwise.Elemwise(scal.identity, inplace_pattern = {0: [0]}))
def view(a):
"""Create a duplicate of `a` (with shared storage)"""
@constructor
def sum(input, axis = None):
"""WRITEME"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论