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
zhangyi
49045e168b
fix api error format showing on website.
5 years ago
lilei
8ba7b6c693
Modify Note
5 years ago
bai-yangfan
80b8124d60
nn_notes
5 years ago
wangshuide2020
478dd7bc10
update example of getnext and getnextsingleop
5 years ago
lilei
7ed181ec7c
modify Note
5 years ago
buxue
0647b8b7db
optimize scalar to tensor function
5 years ago
buxue
1bd2f100be
modify example of ParameterUpdate
5 years ago
lihongkang
79333916ed
fix bugs
5 years ago
mindspore-ci-bot
bfc6cca4f8
!9441 modify example
From: @lijiaqi0612
Reviewed-by: @c_34,@zh_qh
Signed-off-by: @c_34
5 years ago
Jiaqi
006879fbb8
modify example
5 years ago
yao_yf
9cda064716
auto parallel predict
5 years ago
JunYuLiu
1eaa4a30dd
Add labels to python files
5 years ago
wangshuide2020
f64a201804
update example of some operations.
5 years ago
jinyaohui
e6f9806cfb
add broadcast
5 years ago
lilei
4d48049b27
modify_normal_seed
5 years ago
panfengfeng
2d7b93e958
fix nn & operations api comments
5 years ago
wangnan39@huawei.com
7578f23632
optim TrainOneStepCell
5 years ago
mindspore-ci-bot
b4581b2c54
!6101 delete DataWrapper
Merge pull request !6101 from wangnan39/delete_datawrapper
5 years ago
Jiaqi
94d63b90f4
remove sens parameter
5 years ago
wangnan39@huawei.com
ef94ac12e9
delete DataWrapper
5 years ago
yao_yf
d4cfe55c04
rename mirror_mean to gradients_mean
5 years ago
yao_yf
07117e4dd4
mv ParallelMode to context
5 years ago
panyifeng
1a54785fe2
remove name arg from gradoperation
5 years ago
mindspore-ci-bot
15ae3702f9
!5063 modify sgd and momentum and WithGradCell comments
Merge pull request !5063 from lijiaqi/momentum_and_sgd
5 years ago
李嘉琪
d957309957
modify comments
5 years ago
李嘉琪
850c637794
add comments
5 years ago
simson
7cc48a9af8
Third round of enhancement of API comment & README_CN
5 years ago
李嘉琪
881f3f735f
modify cell inputs
5 years ago
simson
dec2e4a819
Third round of the enhancement of API comments
5 years ago
Wei Luning
ef13a4b6fb
adjust cse code when op has side effect.
5 years ago
Kang
041f628cce
Optimize MixedPrecisionCast function
6 years ago
rick_sanchez
e2a322b6b7
Modify code to support dynamic graph.
6 years ago
Xiaoda Zhang
5e041966f1
add a new vritualdataset cell for three inputs
6 years ago
guohongzilong
824bc30a94
learning rate and weight decay support group mode
6 years ago
Wei Luning
8f1984a8d1
only cast when level is O2
6 years ago
mindspore-ci-bot
507b63ea20
!461 Add interface to get attributes of network.
Merge pull request !461 from wsc/master
6 years ago
wangnan39@huawei.com
f38d18c665
fix bug in checkpoint when save scaler
6 years ago
wangnan39@huawei.com
b812b18c02
support update parameter for vm
6 years ago
wsc
f51d5fc411
Add interface to get the attributes of network
6 years ago
Wei Luning
e1c8f248e0
Fix the output is not tuple, when eval
6 years ago
zhongligeng
144a636b51
resolve some issue in nn comments
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago