buxue
2551f5ea7e
support name or attribute ast.Expr
5 years ago
mindspore-ci-bot
7ff2b3b499
!12781 fix bug of amp bn cast
From: @jojobugfree
Reviewed-by:
Signed-off-by:
5 years ago
caifubi
a6959c2a13
fix bn cast bug
5 years ago
yangzhenzhang
a70d616841
mini step grad accumulation
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
wangnan39@huawei.com
2f79905f60
convert attr from str to enum
5 years ago
lilei
63eb3ed2d9
modify Tensor shape
5 years ago
buxue
2ea8b9e738
add dict for isinstance
5 years ago
mindspore-ci-bot
55594db01c
!11348 add check for outermost net inputs type and support isinstance first arg is an empty list
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
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
buxue
e8cd572bc2
add check for outermost net inputs type and support isinstance first arg an empty list
5 years ago
mindspore-ci-bot
a58413479e
!11430 add del_attr function
From: @changzherui
Reviewed-by: @kingxian,@zh_qh
Signed-off-by: @kingxian
5 years ago
fangzehua
f97e19f23f
add cache pass
5 years ago
yuchaojie
1932d87a26
update some op's attr name
5 years ago
changzherui
2795273753
add del_attr funciton
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
yanglf1121
72903c11c8
add array_ops, math_ops and tensor ops
5 years ago
tanghuikang
b1ce9fed1e
Release GIL lock when SyncAsNumpy and run bprop graph in PyNative mod.
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
Ziyan
bbf8ec82b9
expose allgather fusion interface to users
5 years ago
chenfei
2e77736443
pynative consistent run fail
5 years ago
mindspore-ci-bot
44abd94b42
!9408 [ME][Pynative]Fix mem leak problem in pynative mode
From: @chenfei52
Reviewed-by:
Signed-off-by:
5 years ago
chenfei
1f20e552ed
handle mem leak in pynative mode
use enter and leave construct
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
zjun
c0f02dfaf8
Opitimize pynative bprop
Signed-off-by: zjun <zhangjun0@huawei.com>
5 years ago
yanglf1121
918679daa3
add tensor.ndim and rename tensor.size() to tensor.size
5 years ago
zjun
3e1358fe94
Fix bprop second derivative
Signed-off-by: zjun <zhangjun0@huawei.com>
5 years ago
huanghui
1c5cba7b81
add data_sync in Tensor.__repr__
5 years ago
chenfei
368e33bd67
resolve mem leak in primitive py
5 years ago
lvliang
ea0d53c27c
fix-bug-of-zero-in-tensor-shape-and-non-py-tensor-in-cell-hook-in-pynative
5 years ago
Yi Huaijie
d7faa77b5e
support int64 shape
5 years ago
lizhenyu
fd1d61eaf7
enbale ps mode init in server
5 years ago
mindspore-ci-bot
56bcaa5039
!7410 enable async run graph
Merge pull request !7410 from kisnwang/enable-async-run-graph
5 years ago
kswang
ece27f313e
enable async run
5 years ago
lvliang
1b98e91a7e
checkout-the-consistency-of-grad-out-in-pynative-cell-hook
5 years ago
Wei Luning
cdbd16de0c
fix bug in parameter set & fix code style in pynative_executa.cc
5 years ago
mindspore-ci-bot
3aa07a4362
!6320 change mix_precision to c++
Merge pull request !6320 from vlne-v1/pynative_amp
5 years ago
kpy
44c01e27c0
do mixprecision in c++ for pynative
5 years ago
mindspore-ci-bot
a79943ca98
!6425 Fix codedex issue for tensor_py
Merge pull request !6425 from hewei/fix_codedex_0917
5 years ago
He Wei
3ad1acf04c
Fix codedex issue for tensor_py
5 years ago
BowenK
607ea81c7b
fix static check
5 years ago
mindspore-ci-bot
fda52b50df
!6028 Fix codedex issues in tensor_py.cc
Merge pull request !6028 from hewei/fix_codedex_0911
5 years ago
He Wei
5ddc6266b2
Fix codedex issue in tensor_py.cc
5 years ago
zhousiyi
ab74dfc839
refact backend/session from python
5 years ago
Wei Luning
249382899b
fix bug in cell pickle and copy
5 years ago
Wei Luning
e6f82af849
add cell class to c++
5 years ago
Wei Luning
879a519136
updata signature
5 years ago
mindspore-ci-bot
be3d79cb6b
!4204 add dynamic shape support for GatherV2 and others
Merge pull request !4204 from fary86/adapt_primitive_dynamic_shape
5 years ago
buxue
359e1f236e
check user define bprop when there is parameter in nested network
5 years ago
fary86
144a35b17e
Adapt GatherV2 for dynamic shape
5 years ago