huanghui
ba66c0d491
add security isolate for save_graphs
2021-09-14 10:24:12 +08:00
yepei6
acbd7eb023
add more tensor methods
2021-05-10 14:40:53 +08:00
huangmengxi
d6be043cb9
fix & restructure setitem
2021-04-27 10:03:10 +08:00
l00591931
bd777e0710
throw exception when tensor has zero in shape
2021-03-16 10:39:48 +08:00
yepei6
57373ed30a
merge getitem the by otehr types to by tuple(success)
2021-03-09 10:47:29 +08:00
yujianfeng
41189781f3
support scalar input for cell
2021-02-25 09:56:15 +08:00
buxue
6ccc4379b4
do not broaden scalar
2021-02-03 11:30:25 +08:00
l00591931
c5b5a6719c
Enable multi-dimensional list value assignment
2020-11-11 09:25:12 +08:00
yujianfeng
18a76ff3c5
Check whether the network args are tensors in the compile phase
2020-10-19 11:46:10 +08:00
fary86
595767b4b5
Fix bug of mindspore dtype equal
2020-07-16 09:06:55 +08:00
buxue
be771aa9e4
refactor StridedSlice op
2020-07-01 11:08:36 +08:00
huangdongrun
bc0455eaff
* fix bool index
...
* change slice setitem to mixed procedure
* add testcase for slice assignment
2020-06-24 11:18:20 +08:00
buxue
61857b69ed
add check for tensor slice before convert to ops
2020-06-17 15:32:41 +08:00
huangdongrun
9522f59b87
support for tensor indexing in pynative
...
support tensor slice using constexpr
remove tensorslice metagraph
add pynative testcases
2020-06-11 19:14:22 +08:00
buxue
d226a23b65
support tensor set item the number value type is similar as tensor dtype not same
2020-05-27 18:08:10 +08:00
buxue
7ae289a197
Support mixed tensor for tensor getitem or setitem.
2020-05-27 11:19:51 +08:00
buxue
850171a34b
Restrict tensor getitem or setitem not support mixed tensor.
2020-05-22 15:55:38 +08:00
buxue
e490618db8
support tensor get value by tensor index
...
support tensor set value by tensor index
2020-05-21 21:05:35 +08:00
jinyaohui
5a914994ba
clean pylint
2020-05-18 16:42:35 +08:00
jinyaohui
bcfaff97f9
clean pylint
2020-05-18 10:31:46 +08:00
candanzg
e886a3182c
tensor assign with ellpsis
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-29 11:05:44 +08:00
fary86
2078229436
Add prim name to error message for array_ops
2020-04-26 15:23:04 +08:00
mindspore-ci-bot
a02eb240e9
!595 Tensor assign with int or tuple(int) index
...
Merge pull request !595 from candanzg/tensor_assign_with_integer
2020-04-24 17:35:58 +08:00
candanzg
31aae36106
Tensor assign with integer
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-24 16:28:23 +08:00
buxue
c8a1a24ce3
fix the infer of TruncatedNormal and a bug of structure output and a bug of tensorslice ellipsis
2020-04-24 15:42:58 +08:00
candanzg
663d597330
tensor assign with slice index
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-23 13:07:04 +08:00
buxue
437bb8c27c
support ellipsis and bool for tensor slice
2020-04-22 15:00:04 +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
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00