Commit Graph

68 Commits

Author SHA1 Message Date
huangbingjian ad8f73f32b set default context mode to GRAPH_MODE 2021-06-09 14:40:49 +08:00
mindspore-ci-bot 7820e12396 !16372 [ME][Control]Support for to while
From: @Margaret_wangrui
Reviewed-by: 
Signed-off-by:
2021-05-18 14:17:11 +08:00
Margaret_wangrui 56cd94cf60 Support for to while 2021-05-18 09:39:05 +08:00
xsmq a424c3124b adjust ascend st from level0 to level1 2021-05-14 13:07:24 +08:00
Margaret_wangrui 8ef76ab3d0 1、add auto_monad testcase
2、Support trace tuple side-effect from a Switch
2021-05-10 11:30:17 +08:00
Margaret_wangrui 3989c5537c add some control sink testcases 2021-04-30 14:57:29 +08:00
mindspore-ci-bot 31df54f424 !15784 if Switch/SwitchLayer, do not replace Load or remove UpdateState
From: @huangbingjian
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
2021-04-30 09:23:17 +08:00
huangbingjian 2a85af5d83 1. if Switch/SwitchLayer, do not replace Load or remove UpdateState; 2. add control flow testcases; 3. fix codedex problem 2021-04-28 10:15:07 +08:00
chenfei ae87a8ace3 more complex basic case 2021-04-27 20:02:53 +08:00
mindspore-ci-bot 5a48a08e34 !15577 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-25 14:04:00 +08:00
Margaret_wangrui 43b13f4a50 add control flow testcases 2021-04-23 15:57:06 +08:00
mindspore-ci-bot 09d41736e1 !15532 add control flow testcases
From: @huangbingjian
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-23 09:27:19 +08:00
mindspore-ci-bot b1865c7ff0 !15520 while test cases 3
From: @lanzhineng
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-23 09:27:04 +08:00
huangbingjian 94eb1e70e0 add testcases related to if inside the function 2021-04-22 19:10:57 +08:00
lanzhineng 44d932a583 while control cases 3 2021-04-22 15:07:06 +08:00
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
2021-04-21 14:42:39 +08:00
mindspore-ci-bot 23fdba1c36 !15462 [ME][Control]Add assert of inner testcases
From: @chenfei52
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
2021-04-21 14:06:05 +08:00
mindspore-ci-bot 8bf9c96958 !15422 while control test cases 2
From: @lanzhineng
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-21 11:50:38 +08:00
chenfei e150dedc70 check result of test case 2021-04-21 11:17:12 +08:00
Margaret_wangrui e1f452c151 add inner control flow tests 2021-04-21 10:29:17 +08:00
lanzhineng 39c0a5b7da while cases 2 2021-04-21 09:38:43 +08:00
mindspore-ci-bot e346b8028b !15413 update st testcase for while bprop
From: @liangzelang
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
2021-04-20 14:15:29 +08:00
lanzhineng 65479c7646 while test cases 2021-04-20 10:22:30 +08:00
liangzelang 971c2d3c6d [control flow]update st testcases for while bp 2021-04-19 17:37:03 +08:00
He Wei 92d60f4c6f Fix pylint issues in test_cont_break.py
Fix 'Useless super delegation in method __init__';
Also fix class naming problem.
2021-04-12 09:53:11 +08:00
huangbingjian 8d64c11b8a add testcases related to if, fix codedex check 2021-04-09 18:04:32 +08:00
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
2021-04-09 09:18:24 +08:00
Margaret_wangrui e69ead3f19 add some control sink testcases 2021-04-08 20:21:45 +08:00
chenfei_mindspore ac6f5983b5 add inner testcases of control flow
add testcases 2
2021-04-08 14:18:35 +08:00
mindspore-ci-bot 57828fecb0 !13607 [ME]Add test case for while grad avoid stuck
From: @chenfei52
Reviewed-by: 
Signed-off-by:
2021-03-30 19:14:04 +08:00
chenfei 906f3fa222 add test case for while grad 2021-03-29 11:06:50 +08:00
liangzelang 87d7de017b update ci testcases 2021-03-29 09:46:04 +08:00
liangzelang ba65fb9f3c Support non-tail recursive graphs 2021-03-26 16:21:40 +08:00
yangwei e34b2873fa set abstract for maketuple 2021-03-18 19:14:28 +08:00
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.
2021-03-08 11:48:45 +08:00
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
2021-02-18 17:34:33 +08:00
liangzelang 81afa9f103 check result in test_cont_graph cases 2021-02-09 15:11:36 +08:00
l00591931 9ec100d069 Change TensorAdd to Add, from r1.1 to master 2021-02-01 17:53:52 +08:00
chenfei 6d41c00907 use select implement tensor in list 2020-12-14 21:20:36 +08:00
meizhiyuan b80c289caa control_flow case 2020-11-24 21:17:28 +08:00
yujianfeng 3176d377e6 Remove redundant phi nodes 2020-11-16 09:36:55 +08:00
mindspore-ci-bot 314c5ad055 !5172 remove name arg from gradoperation
Merge pull request !5172 from riemann_penn/remove_name_args_from_gradoperation
2020-08-26 16:55:57 +08:00
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
2020-08-26 15:45:48 +08:00
Wei Luning 24a10225cf change base class of ref to tensor in cpp 2020-08-26 12:41:25 +08:00
panyifeng 1a54785fe2 remove name arg from gradoperation 2020-08-26 11:16:57 +08:00
leilei_snow df9df609f8 fix index error 2020-08-25 08:05:07 +00:00
mindspore-ci-bot abe6b82138 !5011 remove global grad ops
Merge pull request !5011 from riemann_penn/remove_global_grad_ops
2020-08-25 09:47:55 +08:00
huangdongrun 1bd9fefd84 support if by if not inline
add testcase of net of if by if
2020-08-24 17:11:26 +08:00
panyifeng 637e812347 remove global grad ops 2020-08-24 16:50:09 +08:00
huangdongrun f30418991c refactor bool op parsing to be consistent with pynative mode
add testcase of st
2020-08-20 16:45:30 +08:00