rick_sanchez
e2a322b6b7
Modify code to support dynamic graph.
5 years ago
buxue
7ae289a197
Support mixed tensor for tensor getitem or setitem.
5 years ago
kingfo
840922e501
add backward hook function in pynative mode
5 years ago
candanzg
e886a3182c
tensor assign with ellpsis
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
candanzg
663d597330
tensor assign with slice index
Signed-off-by: candanzg <zhangshucheng@huawei.com>
6 years ago
buxue
7c233a57fa
support python func print and != for list with none
6 years ago
candanzg
3f087dba1a
Tensor assign syntax:
1) A[B]=U
2) A[A>n]=U
A.shape == B.shape
U is a scalar or Tensor(size==1)
B is Tensor(dtype=bool)
n is a Number
Signed-off-by: candanzg <zhangshucheng@huawei.com>
6 years ago
buxue
80978cf3cc
support operator ** // % for scalar and tensor, and in not in for dict, ang str concat
6 years ago
huangdongrun
461d8e3a08
add comparison ops
fix pylint
use scalar_lt primitive directly
fix review
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago