l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
4 years ago
chenfei
6d41c00907
use select implement tensor in list
4 years ago
meizhiyuan
b80c289caa
control_flow case
4 years ago
yujianfeng
3176d377e6
Remove redundant phi nodes
4 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
mindspore-ci-bot
95212b55a0
!3271 make reftype a subtype of MetaTensor and try to mark ref in node input
...
Merge pull request !3271 from vlne-v1/ref_demo
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
leilei_snow
df9df609f8
fix index error
5 years ago
mindspore-ci-bot
abe6b82138
!5011 remove global grad ops
...
Merge pull request !5011 from riemann_penn/remove_global_grad_ops
5 years ago
huangdongrun
1bd9fefd84
support if by if not inline
...
add testcase of net of if by if
5 years ago
panyifeng
637e812347
remove global grad ops
5 years ago
huangdongrun
f30418991c
refactor bool op parsing to be consistent with pynative mode
...
add testcase of st
5 years ago
huangdongrun
2a6d346d2f
support if by if grad parameter
...
add join for ref
adjust env eliminate to eliminate all env ops
add partial app cache
resolve while endless
fix env eliminate
support for "for while" cases
fix join shape error
5 years ago
simson
5f77fbdd75
Rewrite tensor's __bool__ for pynative mode
5 years ago
leilei_snow
38f32d0f8f
add testcase for switchlayer.
5 years ago
chenfei
193c583cf6
add unreuse args of kernel graph
...
insert assign at the end of graph
clear log
clear log 2
handle replace call of unreuse args
handle bug of replace node
5 years ago
zhoufeng
c94dea6a51
Modify nested while testcase
...
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
zhoufeng
18bc81e88c
Ascend control sink testcase
...
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
liubuyu
107794fac9
pylint warning clean
5 years ago
liubuyu
37be555a81
pylint clean
5 years ago
jinyaohui
5a914994ba
clean pylint
5 years ago
jinyaohui
bcfaff97f9
clean pylint
5 years ago
mindspore-ci-bot
6f386c5782
!1082 Support 'break', 'continue' and 'pass' statements
...
Merge pull request !1082 from hewei/support_cont_break
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
jinyaohui
391a060f21
remove two context param
5 years ago
rick_sanchez
6146424596
refactor vm module for multigraph sink
5 years ago
kpy
65cd41844d
change manager logic to faster combine_like step
5 years ago
rick_sanchez
6ae8345cad
refactor vm module for multigraph sink
5 years ago
leonwanghui
ba43dbc148
Fix pylint warnings in mindspore st test module
5 years ago
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
5 years ago