l00591931
3189868a15
Assignment enable index smaller than 0
5 years ago
mindspore-ci-bot
45b705bca0
!9129 support abs() and mean() method for Tensor object
From: @bairongz
Reviewed-by:
Signed-off-by:
5 years ago
Bairong
623b2e3f99
support abs and mean of Tensor
5 years ago
buxue
d6f91133c3
Support the outermost layer network inputs are list or dict or scalar
5 years ago
mindspore-ci-bot
a321f402c8
!8579 Add view function for tensor
From: @liangzhibo
Reviewed-by: @zh_qh,@chenfei52
Signed-off-by: @zh_qh
5 years ago
l00591931
7a192973ff
Add view function for tensor
5 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
5 years ago
l00591931
ba7ee2aa13
add expand_as function
5 years ago
mindspore-ci-bot
f16509388c
!8409 Multi-dimensional list value assignment
From: @liangzhibo
Reviewed-by: @chenfei52
Signed-off-by:
5 years ago
l00591931
c5b5a6719c
Enable multi-dimensional list value assignment
5 years ago
mindspore-ci-bot
b3855530e3
!7838 Enumerate function enable tensor as input
Merge pull request !7838 from LiangZhibo/master
5 years ago
l00591931
6f165ee5e3
enumerate function and enumerate test case added
5 years ago
simson
3b21822824
get keys and values from dictionary & set tuple to dictionary
5 years ago
yujianfeng
18a76ff3c5
Check whether the network args are tensors in the compile phase
5 years ago
buxue
559c741cce
improve the way passing ags of partial
5 years ago
Zhang Qinghua
6c72d88ba1
Set top graph parameters' name as original graph parameters.
5 years ago
mindspore-ci-bot
8bf5ac1c15
!6032 [bug]add import for ops in ops.py in __init__
Merge pull request !6032 from vlne-v1/change_ops_import
5 years ago
Wei Luning
7b6899fdc0
add import of ops in in ops __init__
5 years ago
buxue
b9c9046b93
support function as condition of if
5 years ago
buxue
4168c51f0d
add check tensor when graph output is a const or parameter
5 years ago
kpy
44b738e8ac
fix grad all ci bug
5 years ago
mindspore-ci-bot
314c5ad055
!5172 remove name arg from gradoperation
Merge pull request !5172 from riemann_penn/remove_name_args_from_gradoperation
5 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
5 years ago
panyifeng
1a54785fe2
remove name arg from gradoperation
5 years ago
panyifeng
637e812347
remove global grad ops
5 years ago
fary86
38083e055a
Fix coredump missing return statement after while loop
5 years ago
buxue
35677ac098
support two mstypes do equal.
5 years ago
panyifeng
34e50e5d6e
fix cell bprop
5 years ago
buxue
ace34525cd
improve interface '__bool__' for tensor
5 years ago
buxue
b075674cf2
support tensor attr shape and dtype in graph mode
5 years ago
panyifeng
598bfa0205
add sparse operators
5 years ago
buxue
b812c1a17a
support call super when class define in test_case.
5 years ago
buxue
073507a5e0
support call the parent class function
5 years ago
mindspore-ci-bot
3e691e54f5
!3071 change ValueError to TypeError for enumerate start
Merge pull request !3071 from zhangbuxue/change_ValueError_to_TypeError_for_enumerate_start
5 years ago
buxue
60b0ded440
change ValueError to TypeError for enumerate start
5 years ago
huangdongrun
ee2039fbba
add support for value sequence of primitve
5 years ago
kingfo
8863dfd677
fix context mode and device_target dependency issue
5 years ago
mindspore-ci-bot
d925c52bb1
!2875 add grad all in pynative
Merge pull request !2875 from wangqiuliang/add-grad-all-in-pynative
5 years ago
kingfo
add3778a61
add grad all in pynative mode
5 years ago
buxue
cf797d3bf2
add arg check for enumerate
5 years ago
buxue
cfa41733d6
support Python built-in function 'enumerate'
5 years ago
huangdongrun
96b38f72b2
add ExpandDims whitelist
add comment for control_depend
5 years ago
huangdongrun
9d3c9c69fe
modify map to C.Map()
5 years ago
jinyaohui
86d197dfeb
clean pylint
5 years ago
seatea
7398526abc
Fix pylint warning for test cases of optimizer, infer, parse and
pynative.
5 years ago
jinyaohui
fbdba6e4da
clean pylint
5 years ago
jinyaohui
5a914994ba
clean pylint
5 years ago
jinyaohui
bcfaff97f9
clean pylint
5 years ago
panyifeng
755ba75deb
fix pylint
5 years ago
He Wei
33fa90efc9
Support 'break', 'continue' and 'pass'
To handle 'break' and 'continue' statement, a loop context is pushed
to a stack before we parse the loop body, and pop it after body parsed.
When a 'break', 'continue' statement is encountered, we retrieve current
loop contex from the stack, and let the current block jump to the end
block or header block;
For 'break' statement, we added an extra 'end_block' follow the 'after_block',
because 'after_block' is called from a ContionalJump in 'header_block', it can
not be set as jump target from other place. to support 'break', we let loop
body jump to the 'end_block' at the 'break' point. and 'after_block'
maybe a good place to handle loop 'else' clause in the future.
Handle 'pass' is simple, just bypass it when doing parse.
5 years ago