caifubi
95695711d7
Remove PyNative Parameter Check
2021-06-18 09:46:27 +08:00
huangbingjian
ad8f73f32b
set default context mode to GRAPH_MODE
2021-06-09 14:40:49 +08:00
chujinjin
7fb3b5ea97
fix log error
2021-05-27 17:19:10 +08:00
yepei6
81789ffb5d
augassign
2021-04-23 11:58:07 +08:00
yujianfeng
f0b7c3dd4d
Add a switch to control grad for scalar
2021-02-27 18:12:37 +08:00
yujianfeng
41189781f3
support scalar input for cell
2021-02-25 09:56:15 +08:00
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)
```
2021-02-08 09:01:15 +08:00
zhangyihui
bbbffbb6a9
Modify the profiling_options parameter name
2021-02-05 10:15:01 +08:00
wangshuide2020
30f99f2722
add raises description for BCELoss, ReLU, BatchNorm1d, etc. operators.
2021-02-02 20:52:00 +08:00
mindspore-ci-bot
b189f177bb
Change tuple_getitem to TupleGetItem and some other ops, merge from r1.1 to master
2021-02-02 15:54:15 +08:00
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
2021-02-01 17:53:52 +08:00
ougongchang
c6e4b0c85f
Add more log when collect graph and use summary operators
...
Fix can not collect input data when batch size is 1 and total step
number is 1
Fixed spelling errors
2021-01-26 11:24:16 +08:00
buxue
acec35d4d4
support non tensor inputs
2021-01-14 09:21:01 +08:00
lilei
b858097ae4
modify MetaTensor and Tensor
2021-01-04 20:58:34 +08:00
mindspore-ci-bot
261bb736de
!10063 Modify profiler directory structure to fit the new Run Package
...
From: @gzhcv
Reviewed-by:
Signed-off-by:
2020-12-24 16:53:13 +08:00
gzhcv
bad8c0e422
Modify profiling dir structure to fit the new Run Package
2020-12-18 11:04:07 +08:00
buxue
aeeef7607a
remove the 'raise' in construct of Cell
2020-12-17 10:54:42 +08:00
laiyongqiang
11244f790a
increase variable_memory_max_size max size from 30GB to 31GB
2020-12-01 20:29:57 +08:00
Yi Huaijie
d7faa77b5e
support int64 shape
2020-11-05 21:15:49 +08:00
mindspore-ci-bot
f3d7b32d56
!7855 Move backend opt pass ir files to the fold: verbose_ir_files
...
Merge pull request !7855 from huanghui/move_ir_files
2020-11-03 15:34:17 +08:00
zjun
ccedf71de5
Add pynative bprop nested grad
...
Signed-off-by: zjun <zhangjun0@huawei.com>
2020-11-02 19:33:33 +08:00
huanghui
fa6c23358a
Move some ir files which backend optpass dumped to the fold: verbose_ir_files
2020-11-02 19:18:24 +08:00
mindspore-ci-bot
7a45596593
!7373 Use MetaTensor instead of Initializer
...
Merge pull request !7373 from lilei/modify_MetaTensor
2020-10-17 20:54:13 +08:00
chenzomi
5b769dfb20
[ME] Bug fix
2020-10-16 13:01:34 +08:00
lilei
7b135990e7
Use MetaTensor instead of Initializer
2020-10-16 09:38:11 +08:00
chenzomi
d471d32e87
[ME] change `check_integer` to format `check_positive_int` and `check_integeter`
2020-10-10 12:08:10 +08:00
chenzomi
d4e8e94981
[ME] delete check_bool and replace with Validate.check_bool
2020-10-09 16:46:07 +08:00
kpy
4338dd266e
optimizer pynative graph memory
2020-09-16 16:14:05 +08:00
Wei Luning
8d17a2b8af
* add doc for some Parameter property.* add export in quant __all__* fix bug for isinstance & add ut for it
2020-09-15 18:25:12 +08:00
Wei Luning
7b6899fdc0
add import of ops in in ops __init__
2020-09-12 15:29:43 +08:00
mindspore-ci-bot
dd215f4080
!5735 delete seed0 and seed1
...
Merge pull request !5735 from caozhou/delete_seed
2020-09-11 09:58:56 +08:00
mindspore-ci-bot
2350a5990b
!5885 [doc]add some document for composite op
...
Merge pull request !5885 from vlne-v1/add-doc-for-composite-op
2020-09-09 14:13:23 +08:00
Wei Luning
8c6475fd0b
add composite op doc
2020-09-09 10:18:49 +08:00
huangdongrun
341b8468eb
add support for pynative multicases
...
clear df builder
add testcases
2020-09-08 16:09:48 +08:00
caozhou
6509fa9023
delete seed0 and seed1 in Dropout
2020-09-08 10:51:12 +08:00
mindspore-ci-bot
77dd91a646
!5669 Fix get_py_obj_dtype() for mindspore type
...
Merge pull request !5669 from hewei/fix_get_py_obj_dtype
2020-09-07 08:59:01 +08:00
mindspore-ci-bot
fc79997de5
!5502 Mod SoftmaxCrossEntropyWithlogits
...
Merge pull request !5502 from wanyiming/mod_SoftmaxCrossEntropyWithlogits
2020-09-03 20:24:43 +08:00
wanyiming
0ec70068ae
mod_SoftmaxCrossEntropyWithLogits
2020-09-03 17:33:20 +08:00
He Wei
c1469d61ce
Fix get_py_obj_dtype() for mindspore type
...
Return mstype.type_type if input is mindspore type object,
for example:
```
get_py_obj_dtype(mstype.float32) ---> mstype.type_type
```
2020-09-02 16:14:25 +08:00
buxue
359e1f236e
check user define bprop when there is parameter in nested network
2020-09-01 21:24:27 +08:00
mindspore-ci-bot
c2fddb56c8
!4922 Transform tuple parameter to multiple parameters
...
Merge pull request !4922 from amongo/TupleTransform
2020-09-01 15:15:56 +08:00
huangdongrun
0099da2c99
add support for tuple parameter transform
...
add support for pynative pass
add testcases
2020-09-01 14:17:52 +08:00
kingfo
7765d44b76
support parameter tuple input in pynative mode
2020-08-31 20:38:43 +08:00
mindspore-ci-bot
b346f0b3ec
!5026 Fix the problem of resource clear
...
Merge pull request !5026 from Simson/enhancement-API
2020-08-27 11:19:02 +08:00
simson
d4babf190c
fix risk of memory leak
2020-08-27 10:54:06 +08:00
panyifeng
1a54785fe2
remove name arg from gradoperation
2020-08-26 11:16:57 +08:00
huangdongrun
113641decd
fix test cases
2020-08-25 14:38:08 +08:00
mindspore-ci-bot
abe6b82138
!5011 remove global grad ops
...
Merge pull request !5011 from riemann_penn/remove_global_grad_ops
2020-08-25 09:47:55 +08:00
huangdongrun
1bd9fefd84
support if by if not inline
...
add testcase of net of if by if
2020-08-24 17:11:26 +08:00
panyifeng
637e812347
remove global grad ops
2020-08-24 16:50:09 +08:00