l00591931
bd777e0710
throw exception when tensor has zero in shape
4 years ago
yepei6
57373ed30a
merge getitem the by otehr types to by tuple(success)
4 years ago
yujianfeng
41189781f3
support scalar input for cell
4 years ago
buxue
6ccc4379b4
do not broaden scalar
4 years ago
l00591931
c5b5a6719c
Enable multi-dimensional list value assignment
4 years ago
yujianfeng
18a76ff3c5
Check whether the network args are tensors in the compile phase
4 years ago
fary86
595767b4b5
Fix bug of mindspore dtype equal
5 years ago
buxue
be771aa9e4
refactor StridedSlice op
5 years ago
huangdongrun
bc0455eaff
* fix bool index
...
* change slice setitem to mixed procedure
* add testcase for slice assignment
5 years ago
buxue
61857b69ed
add check for tensor slice before convert to ops
5 years ago
huangdongrun
9522f59b87
support for tensor indexing in pynative
...
support tensor slice using constexpr
remove tensorslice metagraph
add pynative testcases
5 years ago
buxue
d226a23b65
support tensor set item the number value type is similar as tensor dtype not same
5 years ago
buxue
7ae289a197
Support mixed tensor for tensor getitem or setitem.
5 years ago
buxue
850171a34b
Restrict tensor getitem or setitem not support mixed tensor.
5 years ago
buxue
e490618db8
support tensor get value by tensor index
...
support tensor set value by tensor index
5 years ago
jinyaohui
5a914994ba
clean pylint
5 years ago
jinyaohui
bcfaff97f9
clean pylint
5 years ago
candanzg
e886a3182c
tensor assign with ellpsis
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
fary86
2078229436
Add prim name to error message for array_ops
5 years ago
mindspore-ci-bot
a02eb240e9
!595 Tensor assign with int or tuple(int) index
...
Merge pull request !595 from candanzg/tensor_assign_with_integer
5 years ago
candanzg
31aae36106
Tensor assign with integer
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
c8a1a24ce3
fix the infer of TruncatedNormal and a bug of structure output and a bug of tensorslice ellipsis
5 years ago
candanzg
663d597330
tensor assign with slice index
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
437bb8c27c
support ellipsis and bool for tensor slice
5 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>
5 years ago
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
5 years ago