Zhang Qinghua
6a79e262ae
Support ops, nn and numpy namespaces, and add test case.
4 years ago
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
4 years ago
i-robot
9d0d094437
!24554 support nested call of ms_function
Merge pull request !24554 from zhangzhaoju/ms_master_ms_function
4 years ago
zzb
95425b770d
iml dict.items() and multiplication op
4 years ago
zhangzhaoju
b4453709a2
Support parser decoratored functions
like nested calling of ms_function
4 years ago
huanghui
1af32f74f9
support None argument for the outermost net
4 years ago
huanghui
97250978c4
fix the debug info about the function decorated by @ms_functon
4 years ago
jiangshuqiang
c2bd061889
fix summary isolation
4 years ago
i-robot
bbdacd41f4
!20585 add security isolate for save_graphs
Merge pull request !20585 from huanghui/add-security-isolate-for-DumpIR
4 years ago
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
4 years ago
huanghui
ba66c0d491
add security isolate for save_graphs
4 years ago
dinglinhe
9a8c1b3c73
array_ops error recti and others
4 years ago
zhangzhaoju
4296881a16
syntax
4 years ago
Zhang Qinghua
7203989c26
Support fallback feature in Graph mode (1).
4 years ago
Zhang Qinghua
a137fa1d0b
Optimize the Executors routines.
- Fix the key generating.
- Distinguish the executors.
4 years ago
Zhang Qinghua
aef396f9f2
Support ListComp and GeneratorExp in Graph Mode.
4 years ago
huanghui
3e17650172
Raise NotImplementedError when parsing the numpy methods, but not the numpy constant.
4 years ago
mindspore-ci-bot
e5a189a4f0
!17520 Optimize exception info when compile net failed
From: @irmo
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
4 years ago
mindspore-ci-bot
7d9bf65654
!16755 support list add list in net in GraphMode.
From: @fenglovebei
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
4 years ago
huanghui
29f632613f
optimize log
4 years ago
fenglovebei
76b884dea9
list add list
4 years ago
huanghui
0610a8d99c
9fdc0035a0
4 years ago
Zhang Qinghua
cd7f7d40fb
Support pass args or|and kwargs for OP CreateInstance.
4 years ago
zhangzhaoju
6a2aee492c
Clean code that not used
4 years ago
buxue
6f1105ea79
show accurate error line when use user defined class
5 years ago
buxue
8c47ce1803
show accurate error info and error lines when use unsupported builtin function
5 years ago
buxue
d830a2b55a
optimize exception mode when use undefined name in if for and while
5 years ago
l00591931
923dd4b77a
enable zero dimension tensor when input is data
5 years ago
buxue
e3056ed9b2
show accurate code line when use uninitialized var in for
5 years ago
mindspore-ci-bot
a1c3f55aca
!13197 support item negative index bprop
From: @zhangbuxue
Reviewed-by: @ginfung
Signed-off-by:
5 years ago
buxue
50ee325b96
support item negative index bprop
5 years ago
buxue
2551f5ea7e
support name or attribute ast.Expr
5 years ago
mindspore-ci-bot
f269f3fc8d
!12231 Support ad for scalar inputs
From: @ginfung
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
6808816cb2
!12618 support index by negative number
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
5 years ago
buxue
610300335f
support index by negative number
5 years ago
yujianfeng
41189781f3
support scalar input for cell
5 years ago
buxue
f8a00d52af
support invert bool tensor
5 years ago
buxue
47dd17a325
support convert ValueDict to py dict
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
buxue
899d6114a4
improve grad of first input
5 years ago
buxue
5ede9ffcca
improve isinstance
5 years ago
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
5 years ago
mindspore-ci-bot
9fa0499fa0
Change GatherV2 to Gather r1.1 to master
5 years ago
mindspore-ci-bot
b9e1c3f045
!11530 support call inner net attr
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
5 years ago
buxue
3d33c4fed3
support call inner net attr
5 years ago
buxue
7c4b7203b0
add dtype shape and value in __str__ and __repr__ of Parameter
5 years ago
mindspore-ci-bot
fd6dc1b060
!11177 modify Tensor
From: @Somnus2020
Reviewed-by:
Signed-off-by:
5 years ago
lilei
7d9f5f6dba
modify Tensor
5 years ago
buxue
2ea8b9e738
add dict for isinstance
5 years ago
buxue
e8cd572bc2
add check for outermost net inputs type and support isinstance first arg an empty list
5 years ago