mindspore-ci-bot
c316d76a03
!15456 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
4 years ago
mindspore-ci-bot
23fdba1c36
!15462 [ME][Control]Add assert of inner testcases
From: @chenfei52
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
4 years ago
mindspore-ci-bot
8bf9c96958
!15422 while control test cases 2
From: @lanzhineng
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
4 years ago
chenfei
e150dedc70
check result of test case
4 years ago
Margaret_wangrui
e1f452c151
add inner control flow tests
4 years ago
lanzhineng
39c0a5b7da
while cases 2
4 years ago
mindspore-ci-bot
e346b8028b
!15413 update st testcase for while bprop
From: @liangzelang
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
4 years ago
lanzhineng
65479c7646
while test cases
4 years ago
liangzelang
971c2d3c6d
[control flow]update st testcases for while bp
4 years ago
He Wei
92d60f4c6f
Fix pylint issues in test_cont_break.py
Fix 'Useless super delegation in method __init__';
Also fix class naming problem.
4 years ago
huangbingjian
8d64c11b8a
add testcases related to if, fix codedex check
4 years ago
mindspore-ci-bot
32f92eecbd
!14805 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
4 years ago
Margaret_wangrui
e69ead3f19
add some control sink testcases
5 years ago
chenfei_mindspore
ac6f5983b5
add inner testcases of control flow
add testcases 2
5 years ago
mindspore-ci-bot
57828fecb0
!13607 [ME]Add test case for while grad avoid stuck
From: @chenfei52
Reviewed-by:
Signed-off-by:
5 years ago
chenfei
906f3fa222
add test case for while grad
5 years ago
liangzelang
87d7de017b
update ci testcases
5 years ago
liangzelang
ba65fb9f3c
Support non-tail recursive graphs
5 years ago
yangwei
e34b2873fa
set abstract for maketuple
5 years ago
He Wei
891fd7df92
[auto-monad] Refactor ascend_auto_monad
1. Remove output parameter pool for ascend control flow;
2. Remove duplicate code for Switch and SwitchLayer;
3. Add 'return' attribute to label_goto that used for return;
4. Disable tail call optimize for graphs with 'recursive' flag.
5 years ago
mindspore-ci-bot
176afda078
!12307 Add result check for cases in test_cont_grad.py
From: @liangzelang
Reviewed-by: @jjfeing,@zhoufeng54
Signed-off-by: @zhoufeng54
5 years ago
liangzelang
81afa9f103
check result in test_cont_graph cases
5 years ago
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
5 years ago
chenfei
6d41c00907
use select implement tensor in list
5 years ago
meizhiyuan
b80c289caa
control_flow case
5 years ago
yujianfeng
3176d377e6
Remove redundant phi nodes
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
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