jinyaohui
8d88f6d935
modify broadcast
5 years ago
He Wei
7d9a783993
[auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.
The ControlDepend primitive is removed and there are two primitives added:
1. UpdateState:
```
a = Assign(para, value)
```
became:
```
a = Assign(para, value, u)
u = UpdateState(u, a)
```
2. Load:
```
x = Add(para, value)
```
became:
```
p = Load(para, u)
x = Add(p, value)
u = UpdateState(u, p)
```
5 years ago
mindspore-ci-bot
60595d2988
!12118 support switch layer for pynative
From: @chujinjin
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
5 years ago
chujinjin
96229b7358
support swtichlayer for pynative
5 years ago
wangshuide2020
2e5b22adde
fix the example of Unique, SparseApplyProximalAdagrad, BoundingBoxEncode, SGD and Parameter.
5 years ago
mindspore-ci-bot
e6221008a1
!12041 unify parameter output type
From: @zhangbuxue
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
buxue
81d26eaa34
unify parameter output type
5 years ago
l00591931
edbe3bfd3b
Add deprecated function
5 years ago
mindspore-ci-bot
5eddd9dbc0
!11803 allow list as parameter input & store op info using op_name instead of primitive id
From: @simson_wu
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
3bfcf8947c
!11935 Modify the type of Tensor's shape
From: @Somnus2020
Reviewed-by: @kingxian,@zhoufeng54
Signed-off-by: @kingxian
5 years ago
lilei
63eb3ed2d9
modify Tensor shape
5 years ago
simson
e375c86d0c
allow list as parameter input & store op info using op_name instead of primitive id
5 years ago
buxue
25a4382921
rectify control_depend and deprecated
5 years ago
yanglf1121
5b986fa419
update API in tensor.py
5 years ago
buxue
18f2f8a6b9
add deprecated to ControlDepend
5 years ago
buxue
7c4b7203b0
add dtype shape and value in __str__ and __repr__ of Parameter
5 years ago
mindspore-ci-bot
b8ba05333e
!11372 [Numpy-Native] Api docstring bug fix
From: @yanglf1121
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
fd6dc1b060
!11177 modify Tensor
From: @Somnus2020
Reviewed-by:
Signed-off-by:
5 years ago
yanglf1121
eab5ecf21a
Fix bugs in np.atleastxd, np.xstack and format api docstrings
5 years ago
mindspore-ci-bot
6394ba3974
!11499 delete useless params in pipeline parallel
From: @yangzhenzhang
Reviewed-by: @kisnwang,@stsuteng
Signed-off-by: @stsuteng
5 years ago
yangzhenzhang
cbca482e59
delete useless parameter in pipeline parallel
5 years ago
lilei
7d9f5f6dba
modify Tensor
5 years ago
buxue
2ea8b9e738
add dict for isinstance
5 years ago
mindspore-ci-bot
2ea8527de3
!11314 add cache embedding for wide&deep model
From: @fangzehua
Reviewed-by:
Signed-off-by:
5 years ago
fangzehua
f97e19f23f
add cache pass
5 years ago
mindspore-ci-bot
04dc803ea5
!11376 improve isinstance function in graph mode
From: @zhangbuxue
Reviewed-by: @ginfung,@zh_qh,@zhunaipan
Signed-off-by: @zh_qh
5 years ago
buxue
15593dc98f
improve isinstance function in graph mode
5 years ago
zuochuanyong
af5f050b92
Support parameter broadcast in data parallel mode under PyNaitve
5 years ago
mindspore-ci-bot
9c2724d6d4
!11136 update python version to 3.8
From: @simson_wu
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
eacc8bac89
!10755 [Numpy-Native] Add new numpy-native interfaces to mindspore.numpy
From: @yanglf1121
Reviewed-by:
Signed-off-by:
5 years ago
simson
f1e05c5fc4
update python version to 3.8
5 years ago
buxue
7eaf84d07a
remove attr support_non_tensor_input of cell
5 years ago
yanglf1121
72903c11c8
add array_ops, math_ops and tensor ops
5 years ago
buxue
acec35d4d4
support non tensor inputs
5 years ago
zjun
45c6f30065
Opitimize pynative grad graph already run
5 years ago
buxue
24dc0925db
fix bug in getitem when index is True
5 years ago
zhangyi
5b5cfee0b1
fix some api comments.
5 years ago
mindspore-ci-bot
1d1f6841b9
!10937 keep consistent in Graph mode and PyNative mode for 'isinstance'
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
5 years ago
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
5 years ago
mindspore-ci-bot
a531628dd5
!10325 modify MetaTensor and Tensor
From: @Somnus2020
Reviewed-by: @kingxian
Signed-off-by: @kingxian
5 years ago
lilei
b858097ae4
modify MetaTensor and Tensor
5 years ago
mindspore-ci-bot
8fc6879345
!10872 modify Note: mstype.float32 ->ms.float32
From: @Somnus2020
Reviewed-by: @kingxian,@zhunaipan
Signed-off-by: @kingxian
5 years ago
mindspore-ci-bot
57f4d6b4c9
!10853 getitem: bool index expand dims
From: @yepei6
Reviewed-by: @kisnwang,@kingxian
Signed-off-by: @kingxian
5 years ago
Jiaqi
cb9a207c3f
remove space
5 years ago
Payne
b12ca2165c
add bool expand dims and wait to test
5 years ago
lilei
c33344633c
modify note
5 years ago
mindspore-ci-bot
0f7e79cd7e
!10664 fix error in len of tensor in pynative mode
From: @zhangbuxue
Reviewed-by: @zhunaipan,@zh_qh
Signed-off-by: @zh_qh
5 years ago
mindspore-ci-bot
b67aaf6773
!9832 expose_allgather_fusion_to_users
From: @gong_zi_yan
Reviewed-by:
Signed-off-by:
5 years ago
buxue
3973f1424e
fix error in len of tensor in pynative mode
5 years ago
Ziyan
bbf8ec82b9
expose allgather fusion interface to users
5 years ago