yanglf1121
560ef0036f
Add new np interfaces
2021-04-22 10:22:36 +08:00
buxue
5ede9ffcca
improve isinstance
2021-02-02 21:12:14 +08:00
mindspore-ci-bot
b8ba05333e
!11372 [Numpy-Native] Api docstring bug fix
...
From: @yanglf1121
Reviewed-by:
Signed-off-by:
2021-01-23 11:13:07 +08:00
yanglf1121
eab5ecf21a
Fix bugs in np.atleastxd, np.xstack and format api docstrings
2021-01-21 22:03:18 +08:00
buxue
2ea8b9e738
add dict for isinstance
2021-01-21 17:30:35 +08:00
buxue
e8cd572bc2
add check for outermost net inputs type and support isinstance first arg an empty list
2021-01-20 14:48:06 +08:00
buxue
15593dc98f
improve isinstance function in graph mode
2021-01-18 19:18:48 +08:00
yanglf1121
72903c11c8
add array_ops, math_ops and tensor ops
2021-01-14 15:32:36 +08:00
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
2021-01-05 21:36:10 +08:00
yanglf1121
918679daa3
add tensor.ndim and rename tensor.size() to tensor.size
2020-12-18 17:15:42 +08:00
wangshuide2020
abf0d30537
update the doc string of some operations.
2020-12-15 14:59:10 +08:00
mindspore-ci-bot
3f82405d17
!9639 Add Numpy Native to Mindspore
...
From: @yanglf1121
Reviewed-by:
Signed-off-by:
2020-12-10 09:45:16 +08:00
yanglf1121
59e5afd2bb
Add mindnumpy to mindspore
2020-12-09 21:35:16 +08:00
Bairong
623b2e3f99
support abs and mean of Tensor
2020-12-01 11:34:12 +08:00
mindspore-ci-bot
a321f402c8
!8579 Add view function for tensor
...
From: @liangzhibo
Reviewed-by: @zh_qh,@chenfei52
Signed-off-by: @zh_qh
2020-11-16 14:37:21 +08:00
l00591931
7a192973ff
Add view function for tensor
2020-11-16 10:49:19 +08:00
mindspore-ci-bot
c11c79170e
!8554 Add expand_as function to tensor
...
From: @liangzhibo
Reviewed-by: @zh_qh,@chenfei52
Signed-off-by: @zh_qh
2020-11-13 15:19:01 +08:00
l00591931
ba7ee2aa13
add expand_as function
2020-11-13 11:42:54 +08:00
l00591931
6f165ee5e3
enumerate function and enumerate test case added
2020-11-02 21:11:52 +08:00
buxue
14f6c95c28
add overflow check for make_range and optimize isinstance processing
2020-09-17 19:47:10 +08:00
buxue
b9c9046b93
support function as condition of if
2020-09-11 17:43:07 +08:00
buxue
09f1a4bbaf
support axis is None for all and any interface in graph mode.
2020-08-17 17:53:02 +08:00
buxue
ace34525cd
improve interface '__bool__' for tensor
2020-08-05 16:14:14 +08:00
buxue
2c4cb49a11
support interface 'all' and 'any' of tensor
2020-08-04 18:24:56 +08:00
buxue
b075674cf2
support tensor attr shape and dtype in graph mode
2020-08-03 17:09:31 +08:00
buxue
8feb021c08
support bprop for const in pynative and develop stridedslice and isinstance.
2020-07-28 11:07:51 +08:00
mindspore-ci-bot
684ff4f46b
!3160 Rewrite tensor's __bool__ for pynative mode
...
Merge pull request !3160 from Simson/push-to-opensource
2020-07-23 16:55:49 +08:00
simson
5f77fbdd75
Rewrite tensor's __bool__ for pynative mode
2020-07-23 16:51:46 +08:00
buxue
073507a5e0
support call the parent class function
2020-07-21 16:38:11 +08:00
buxue
60b0ded440
change ValueError to TypeError for enumerate start
2020-07-15 10:39:03 +08:00
buxue
cf797d3bf2
add arg check for enumerate
2020-07-10 16:58:38 +08:00
buxue
cfa41733d6
support Python built-in function 'enumerate'
2020-07-03 14:42:10 +08:00
huangdongrun
beacc26077
* add isconstant primitive
...
* add infer_value for common math ops
* convert constant bool tensor to bool value
* do not infer value when encounter 0 as division
for while condition, do not unrool if condition is a tensor
2020-06-04 21:51:44 +08:00
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00