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: Ncandanzg <zhangshucheng@huawei.com>
Showing
想要评论请 注册 或 登录
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: Ncandanzg <zhangshucheng@huawei.com>