Commit Graph

126 Commits

Author SHA1 Message Date
zheng_pengfei 09b5e545dd [feat] [assistant] [I48OBC] add new LogicalNot 2021-12-23 20:39:17 +08:00
i-robot 3121a317ec !27775 Fix Slice node's location incorrect
Merge pull request !27775 from huanghui/fix-Slice-no-location
2021-12-17 06:35:26 +00:00
Zhang Qinghua ea8c47e981 Support variable index of getitem during handling cell list getattr. 2021-12-16 20:35:45 +08:00
huanghui d549ec5af5 fix Slice cannot get location 2021-12-16 17:19:20 +08:00
Zhang Qinghua 3e7b73e6c7 Support getattr by the item of cell list: Handle the DoSignaturePrimitive('getitem') between getattr and resolve. 2021-12-14 09:06:34 +08:00
i-robot d1e4e674ab !26690 Add supoort resolving outer lambda function for ops.Partial.
Merge pull request !26690 from hezhenhao1/add_lambda
2021-11-26 09:21:34 +00:00
hezhenhao1 4af312d17e Add supoort resolving outer lambda function for ops.Partial. 2021-11-26 15:05:50 +08:00
Margaret_wangrui 922678edef Revert "Add the check of function return None."
This reverts commit f9a384456a.
2021-11-25 21:18:24 +08:00
Margaret_wangrui f9a384456a Add the check of function return None. 2021-11-24 15:30:35 +08:00
Zhang Qinghua e8b421fe6e Enable JIT Fallback in default. 2021-10-28 20:18:06 +08:00
Zhang Qinghua 6a79e262ae Support ops, nn and numpy namespaces, and add test case. 2021-10-22 16:31:30 +08:00
i-robot e3d8edc530 !24475 Implement the dict.items() interface and the multiplication operation of numbers and lists or tuples
Merge pull request !24475 from 翟之博/master
2021-10-18 11:39:27 +00:00
i-robot 9d0d094437 !24554 support nested call of ms_function
Merge pull request !24554 from zhangzhaoju/ms_master_ms_function
2021-10-18 09:36:30 +00:00
zzb 95425b770d iml dict.items() and multiplication op 2021-10-18 12:47:22 +08:00
zhangzhaoju b4453709a2 Support parser decoratored functions
like nested calling of ms_function
2021-10-15 16:41:08 +08:00
huanghui 1af32f74f9 support None argument for the outermost net 2021-10-11 16:00:57 +08:00
huanghui 97250978c4 fix the debug info about the function decorated by @ms_functon 2021-09-23 14:43:02 +08:00
jiangshuqiang c2bd061889 fix summary isolation 2021-09-18 10:59:14 +08:00
i-robot bbdacd41f4 !20585 add security isolate for save_graphs
Merge pull request !20585 from huanghui/add-security-isolate-for-DumpIR
2021-09-15 01:25:46 +00:00
i-robot c6a99428cd !23153 Update the operator in order to let users better understand the reason for the error of the operator part: nn_ops and array_ops
Merge pull request !23153 from dinglinhe/dlh_code_ms_I43QY0_nn_ops
2021-09-14 06:33:39 +00:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
dinglinhe 9a8c1b3c73 array_ops error recti and others 2021-09-14 09:12:02 +08:00
zhangzhaoju 4296881a16 syntax 2021-09-13 15:20:53 +08:00
Zhang Qinghua 7203989c26 Support fallback feature in Graph mode (1). 2021-09-06 16:00:03 +08:00
Zhang Qinghua a137fa1d0b Optimize the Executors routines.
- Fix the key generating.
- Distinguish the executors.
2021-08-28 17:36:12 +08:00
Zhang Qinghua aef396f9f2 Support ListComp and GeneratorExp in Graph Mode. 2021-08-06 11:44:57 +08:00
huanghui 3e17650172 Raise NotImplementedError when parsing the numpy methods, but not the numpy constant. 2021-08-03 14:33:22 +08:00
mindspore-ci-bot e5a189a4f0 !17520 Optimize exception info when compile net failed
From: @irmo
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-06-05 12:04:28 +08:00
mindspore-ci-bot 7d9bf65654 !16755 support list add list in net in GraphMode.
From: @fenglovebei
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
2021-06-04 16:37:40 +08:00
huanghui 29f632613f optimize log 2021-06-04 12:32:44 +08:00
fenglovebei 76b884dea9 list add list 2021-06-03 21:16:30 +08:00
huanghui 0610a8d99c 9fdc0035a0 2021-05-29 10:31:23 +08:00
Zhang Qinghua cd7f7d40fb Support pass args or|and kwargs for OP CreateInstance. 2021-04-29 14:14:58 +08:00
zhangzhaoju 6a2aee492c Clean code that not used 2021-04-22 16:24:05 +08:00
buxue 6f1105ea79 show accurate error line when use user defined class 2021-04-01 21:52:00 +08:00
buxue 8c47ce1803 show accurate error info and error lines when use unsupported builtin function 2021-03-31 12:33:38 +08:00
buxue d830a2b55a optimize exception mode when use undefined name in if for and while 2021-03-27 17:28:52 +08:00
l00591931 923dd4b77a enable zero dimension tensor when input is data 2021-03-24 15:46:17 +08:00
buxue e3056ed9b2 show accurate code line when use uninitialized var in for 2021-03-21 17:50:58 +08:00
mindspore-ci-bot a1c3f55aca !13197 support item negative index bprop
From: @zhangbuxue
Reviewed-by: @ginfung
Signed-off-by:
2021-03-12 15:52:26 +08:00
buxue 50ee325b96 support item negative index bprop 2021-03-12 13:58:46 +08:00
buxue 2551f5ea7e support name or attribute ast.Expr 2021-03-11 21:40:33 +08:00
mindspore-ci-bot f269f3fc8d !12231 Support ad for scalar inputs
From: @ginfung
Reviewed-by: 
Signed-off-by:
2021-02-26 15:50:32 +08:00
mindspore-ci-bot 6808816cb2 !12618 support index by negative number
From: @zhangbuxue
Reviewed-by: 
Signed-off-by:
2021-02-26 15:49:14 +08:00
buxue 610300335f support index by negative number 2021-02-26 12:49:25 +08:00
yujianfeng 41189781f3 support scalar input for cell 2021-02-25 09:56:15 +08:00
buxue f8a00d52af support invert bool tensor 2021-02-24 17:47:07 +08:00
buxue 47dd17a325 support convert ValueDict to py dict 2021-02-23 09:27:46 +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
buxue 899d6114a4 improve grad of first input 2021-02-05 12:36:37 +08:00