buxue
6f1105ea79
show accurate error line when use user defined class
4 years ago
buxue
8c47ce1803
show accurate error info and error lines when use unsupported builtin function
4 years ago
buxue
d830a2b55a
optimize exception mode when use undefined name in if for and while
4 years ago
l00591931
923dd4b77a
enable zero dimension tensor when input is data
4 years ago
buxue
e3056ed9b2
show accurate code line when use uninitialized var in for
4 years ago
mindspore-ci-bot
a1c3f55aca
!13197 support item negative index bprop
...
From: @zhangbuxue
Reviewed-by: @ginfung
Signed-off-by:
4 years ago
buxue
50ee325b96
support item negative index bprop
4 years ago
buxue
2551f5ea7e
support name or attribute ast.Expr
4 years ago
Zhang Qinghua
8b8c59f01e
Optimize the compile performance in Parser, FG, Manager and Renormalize:
...
---
Remove the routine of handling isolated nodes in Renormalize.
Add isolated nodes from Parser&Resolver.
Modify isolated nodes handling in FG&Manager.
Optimize the renormalize routines.
Other optimizations.
4 years ago
mindspore-ci-bot
f269f3fc8d
!12231 Support ad for scalar inputs
...
From: @ginfung
Reviewed-by:
Signed-off-by:
4 years ago
mindspore-ci-bot
6808816cb2
!12618 support index by negative number
...
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
4 years ago
buxue
610300335f
support index by negative number
4 years ago
yujianfeng
41189781f3
support scalar input for cell
4 years ago
buxue
f8a00d52af
support invert bool tensor
4 years ago
buxue
47dd17a325
support convert ValueDict to py dict
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
buxue
899d6114a4
improve grad of first input
4 years ago
buxue
5ede9ffcca
improve isinstance
4 years ago
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
4 years ago
mindspore-ci-bot
9fa0499fa0
Change GatherV2 to Gather r1.1 to master
4 years ago
mindspore-ci-bot
b9e1c3f045
!11530 support call inner net attr
...
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
4 years ago
buxue
3d33c4fed3
support call inner net attr
4 years ago
buxue
7c4b7203b0
add dtype shape and value in __str__ and __repr__ of Parameter
4 years ago
mindspore-ci-bot
fd6dc1b060
!11177 modify Tensor
...
From: @Somnus2020
Reviewed-by:
Signed-off-by:
4 years ago
lilei
7d9f5f6dba
modify Tensor
4 years ago
buxue
2ea8b9e738
add dict for isinstance
4 years ago
buxue
e8cd572bc2
add check for outermost net inputs type and support isinstance first arg an empty list
4 years ago
buxue
15593dc98f
improve isinstance function in graph mode
4 years ago
buxue
69d9a33ddb
show line of code when parse or resolve phase exception
4 years ago
mindspore-ci-bot
eacc8bac89
!10755 [Numpy-Native] Add new numpy-native interfaces to mindspore.numpy
...
From: @yanglf1121
Reviewed-by:
Signed-off-by:
4 years ago
buxue
7eaf84d07a
remove attr support_non_tensor_input of cell
4 years ago
yanglf1121
72903c11c8
add array_ops, math_ops and tensor ops
4 years ago
buxue
acec35d4d4
support non tensor inputs
4 years ago
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
4 years ago
buxue
1a7c161e73
support len of a Tensor
4 years ago
buxue
aeeef7607a
remove the 'raise' in construct of Cell
4 years ago
buxue
2530943a7f
optimize list getitem in bprop
4 years ago
buxue
70d12aae26
add detailed and accurate description for support non tensor inputs for outermost net.
4 years ago
l00591931
3189868a15
Assignment enable index smaller than 0
4 years ago
mindspore-ci-bot
45b705bca0
!9129 support abs() and mean() method for Tensor object
...
From: @bairongz
Reviewed-by:
Signed-off-by:
4 years ago
Bairong
623b2e3f99
support abs and mean of Tensor
4 years ago
buxue
d6f91133c3
Support the outermost layer network inputs are list or dict or scalar
4 years ago
mindspore-ci-bot
a321f402c8
!8579 Add view function for tensor
...
From: @liangzhibo
Reviewed-by: @zh_qh,@chenfei52
Signed-off-by: @zh_qh
4 years ago
l00591931
7a192973ff
Add view function for tensor
4 years ago
mindspore-ci-bot
c11c79170e
!8554 Add expand_as function to tensor
...
From: @liangzhibo
Reviewed-by: @zh_qh,@chenfei52
Signed-off-by: @zh_qh
4 years ago
l00591931
ba7ee2aa13
add expand_as function
4 years ago
mindspore-ci-bot
f16509388c
!8409 Multi-dimensional list value assignment
...
From: @liangzhibo
Reviewed-by: @chenfei52
Signed-off-by:
4 years ago
l00591931
c5b5a6719c
Enable multi-dimensional list value assignment
4 years ago
mindspore-ci-bot
b3855530e3
!7838 Enumerate function enable tensor as input
...
Merge pull request !7838 from LiangZhibo/master
4 years ago
l00591931
6f165ee5e3
enumerate function and enumerate test case added
4 years ago