candanzg
663d597330
tensor assign with slice index
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-23 13:07:04 +08:00
buxue
7c233a57fa
support python func print and != for list with none
2020-04-20 19:55:50 +08:00
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>
2020-04-20 08:44:34 +08:00
buxue
80978cf3cc
support operator ** // % for scalar and tensor, and in not in for dict, ang str concat
2020-04-16 17:03:31 +08:00
huangdongrun
461d8e3a08
add comparison ops
...
fix pylint
use scalar_lt primitive directly
fix review
2020-04-03 09:58:41 +08:00
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00