wangshuide2020
b9eb90b198
add GPU for DenseBnAct, Erfc, Log1p, etc. in Supported Platforms.
4 years ago
wangshuide2020
8a7fa2e651
add raises description for Cast, Diag, Eye, Fill etc. operators.
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
Bairong
8cf43e59e0
hide arange, delete related test case and improve the doc string of nn.Range
4 years ago
Bairong
2eeaec7512
support arange in functional.py
4 years ago
yujianfeng
18a76ff3c5
Check whether the network args are tensors in the compile phase
4 years ago
Wei Luning
cdbd16de0c
fix bug in parameter set & fix code style in pynative_executa.cc
4 years ago
jinyaohui
a9972a7def
optim pylint
5 years ago
panyifeng
1a54785fe2
remove name arg from gradoperation
5 years ago
panyifeng
637e812347
remove global grad ops
5 years ago
Wei Luning
8f56528f8c
add flags on function
5 years ago
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
5 years ago
buxue
62f7dc49e5
support convert bool scalar and tensor to number tensor
5 years ago
candanzg
2429da19fb
implicit type conversion
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
liuwenhao4
f3f0cbaeee
Fixing some tiny faults about Pylint in my code(ops)
5 years ago
jiangjinsheng
2d3cd8276e
vm for erfc
5 years ago
jinyaohui
5a914994ba
clean pylint
5 years ago
jinyaohui
bcfaff97f9
clean pylint
5 years ago
jiangjinsheng
c36e7f1564
support vm for log1p
5 years ago
jiangjinsheng
2fa654e65c
support vm for floor
5 years ago
Wei Luning
157710ca0f
bugfix* fix bug in output tuple of tuple.* check kRWWrite input no-variable* input x of ScatterNdUpdate should be a parameter node
5 years ago
zhaozhenlong
66e7a36846
ImageGradients check 4d
...
fix DiagPart constant folding issue
fix argmin output type check
fix atan2 doc error
fix remove FusedBatchNorm and its grad
5 years ago
zhaojichen
8963e39516
change error type
5 years ago
candanzg
0de05b3949
[bug] fixed bool check for cast op
...
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
62807da0c4
Develop operator Unfold,take the ge backend,dock with tbe's ExtractImagePatches operator
5 years ago
buxue
5841fe010e
Support pow's second input could be tensor and fix bug in bprop of pow
5 years ago
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
5 years ago