dingpeifei
87e41aaeee
IR operators of GPU and CPU are unified as batchnorm
4 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)
```
4 years ago
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
4 years ago
yuchaojie
b51b3a6764
update Pool's attr kernel_size, pad_mode
4 years ago
chenzomi
ca85fcef40
[ME] change some format code.
4 years ago
chenzomi
d471d32e87
[ME] change `check_integer` to format `check_positive_int` and `check_integeter`
4 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
5 years ago
huangdongrun
f30418991c
refactor bool op parsing to be consistent with pynative mode
...
add testcase of st
5 years ago
huangdongrun
2a6d346d2f
support if by if grad parameter
...
add join for ref
adjust env eliminate to eliminate all env ops
add partial app cache
resolve while endless
fix env eliminate
support for "for while" cases
fix join shape error
5 years ago
buxue
2c4cb49a11
support interface 'all' and 'any' of tensor
5 years ago
kpy
570da089a8
set output value for dynamic graph
5 years ago
changzherui
f4cb445ea8
syn code for 0715
5 years ago
jiangjinsheng
7f9bbfd338
add Conv1d ops
5 years ago
buxue
4e832b2309
support implicit type conversion for pynative mode
5 years ago
buxue
66bbdb4a31
change tensor dtype and shape from function to attr
5 years ago
kingfo
38436f929f
move hook function to primtivePy class
5 years ago
BowenK
96379faa3a
Remove ZerosLikeTensor and sub with ZerosLike
5 years ago
rick_sanchez
e2a322b6b7
Modify code to support dynamic graph.
5 years ago
jinyaohui
86d197dfeb
clean pylint
5 years ago
jinyaohui
fbdba6e4da
clean pylint
5 years ago
jinyaohui
5a914994ba
clean pylint
5 years ago
jinyaohui
26fd75895d
pylint waring clean
5 years ago
mindspore-ci-bot
68bdcb4e62
!663 fix tensor equal bug
...
Merge pull request !663 from flywind/fix_bug
5 years ago
kpy
e64c755ad6
change tensor equal bug
5 years ago
fary86
2078229436
Add prim name to error message for array_ops
5 years ago
wangnan39@huawei.com
b812b18c02
support update parameter for vm
5 years ago
buxue
7c233a57fa
support python func print and != for list with none
5 years ago
kingfo
75fec82b52
resolve pynative operator issue
5 years ago
wangnan39@huawei.com
2122a28e1a
fix bug in tests of vm conv2d
5 years ago
mindspore-ci-bot
94589ce611
!226 expend conv stride and dilation to 2d
...
Merge pull request !226 from wangnan39/expend_conv_stride_to_2d
5 years ago
wangnan39@huawei.com
2604acedcb
extend conv stride and dilation to 2d
5 years ago
buxue
5841fe010e
Support pow's second input could be tensor and fix bug in bprop of pow
5 years ago
buxue
7541d3b067
Develop op MaxPoolWithArgMax
5 years ago
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
5 years ago