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
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
5 years ago
wangshuide2020
4cca77cb88
add validation of ApplyMomentum and update annotation of Broadcast, DistributedGradReducer, GlobalBatchNorm, etc. operators.
5 years ago
wangshuide2020
2e078eefb4
update annotation of WarmUpLR, FTRL, LARS, etc. operators.
5 years ago
wangshuide2020
88b5e96d0c
update annotation of Norm, Range, Ftrl, etc. operators.
5 years ago
yanghaoran
58bae307d6
fix bugs
5 years ago
lilei
9a45c4419c
modify batch_normal
5 years ago
lihongkang
8adaed08b6
fix bugs
5 years ago
yuchaojie
b74ae12ee3
fix quant _Observer print bug
5 years ago
yuchaojie
26df6fc50b
add typecheck for in_channels&out_channels of Conv2dBnFoldQuant
5 years ago
mindspore-ci-bot
00611b1c41
!10175 Add tensor.ndim and rename tensor.size() to tensor.size
From: @yanglf1121
Reviewed-by: @kingxian,@zhunaipan
Signed-off-by: @kingxian
5 years ago
mindspore-ci-bot
5671b177f4
!10274 details quant_config notes
From: @yuchaojie
Reviewed-by: @liangchenghui,@linqingke
Signed-off-by: @liangchenghui
5 years ago
yuchaojie
272ccf2ac6
details quant_config notes
5 years ago
yanglf1121
918679daa3
add tensor.ndim and rename tensor.size() to tensor.size
5 years ago
lihongkang
c27d27c46e
fix bugs
5 years ago
lihongkang
bc4efbc9d3
fix bugs
5 years ago
wangshuide2020
abf0d30537
update the doc string of some operations.
5 years ago
jjfeing
1984cf8e20
unify mindir
5 years ago
xiaoyisd
8b13b520c4
del freeze bn
5 years ago
xiaoyisd
9a07c607e6
fix ascend bug
5 years ago
mindspore-ci-bot
68cb63d7f6
!8906 Updating remaining notes on pynative examples in notes of class in nn folders
From: @zhangz0911gm
Reviewed-by: @liangchenghui,@zhunaipan
Signed-off-by: @liangchenghui
5 years ago
mindspore-ci-bot
534cc9bbe9
!8892 Add Conv2dBnFoldQuantOneConv function(gpu and ascend)
From: @xiaoyisd
Reviewed-by: @sanjaychan,@jjfeing
Signed-off-by: @sanjaychan
5 years ago
zhangz0911gm
37e8bd4cf1
Updating remaining notes in nn folder
5 years ago
JunYuLiu
1eaa4a30dd
Add labels to python files
5 years ago
xiaoyisd
e518921cf4
add one conv ascend
5 years ago
mindspore-ci-bot
c12e3876cc
!8771 [#I24U3E][#I24U50][#I24TZT][#I24U7V] BUG-Fixed: [CT][MS][Document] the example in doc has no print
From: @david-he91
Reviewed-by: @liangchenghui
Signed-off-by: @liangchenghui
5 years ago
mindspore-ci-bot
9649a8f2c2
!8730 fix the bug that Conv2dBnWithoutFoldQuant param momentum value is changed.
From: @xiaoyisd
Reviewed-by: @sanjaychan,@chenfei52
Signed-off-by: @sanjaychan
5 years ago
hedongodng
a5016a0ead
fix: I24U3E, I24U50, I24U7V and I24TZT. Correct operator descriptions
5 years ago
xiaoyisd
490e86be27
fix momentum bug
5 years ago
mindspore-ci-bot
90eb272751
!8641 Updating notes on pynative examples of each class in nn_layer folder
From: @zhangz0911gm
Reviewed-by:
Signed-off-by:
5 years ago
xiaoyisd
b070ab1592
add Conv2dBnFoldQuantOneConv
5 years ago
zhangz0911gm
dda18138c1
t# This is a combination of 2 commits.
updating notes of pynative in nn_layer
5 years ago
mindspore-ci-bot
a0cab904ce
!8187 move Conv2dBnAct,DenseBnAct to combined.py
Merge pull request !8187 from yuchaojie/quant
5 years ago
yuchaojie
01303fa88e
move Conv2dBnAct,DenseBnAct to combined.py
5 years ago
buxue
346bcfa3fd
Rectify and optimize the type checking function
5 years ago
mindspore-ci-bot
7fca025721
!8091 add typecheck for after_fake param in quantcell
Merge pull request !8091 from yuchaojie/quant3
5 years ago
yuchaojie
6da2012993
add typecheck for after_fake param in quantcell
5 years ago
yuchaojie
2bbe733fd6
add bool typecheck for conv param
5 years ago
yuchaojie
e030754f3e
Unify LeakyReLUQuant,HSwishQuant,HSigmoidQuant to ActQuant
5 years ago
yuchaojie
cfd270ea66
add type check for ActQuant's activation param
5 years ago
yuchaojie
69d9e76d65
rename create_quant_config && add notes
5 years ago
mindspore-ci-bot
43fc76f02c
!7666 modify QuantCell's notes
Merge pull request !7666 from yuchaojie/quant
5 years ago
yuchaojie
abcf4af27a
modify QuantCell's notes
5 years ago
chenzomi
44bf4c3e37
[ME] format code
5 years ago
lilei
127f70ce40
Extension interface for dense
5 years ago
yuchaojie
a84affffd7
add QuantConfig & modify quant cells
5 years ago
mindspore-ci-bot
2b58af0e9d
!7372 [quant] add QuantDtype and Observer
Merge pull request !7372 from yuchaojie/quant2
5 years ago
chenzomi
acadb694aa
[ME] delete reduant function in check_parameter
5 years ago
yuchaojie
025ea2f392
add QuantDtype and Observer
5 years ago
bai-yangfan
eaef24ca4d
modify manual export
5 years ago