• L
    [Dy2Static] Add convert_ifelse to run the transformed code dynamically (#24866) · a9dca580
    liym27 提交于
    * cast var in convert_logical_XX. 
    
    * Add convert_ifelse function in convert_operators.py  
    
    * Add logical_transformer. Remove LogicalTransformer from loop_transformer.py 
    
    * Revert modified tests in PR24799(convert_while_stmt). 
    
    * Comment and modify code that doesn't support `return` statement. 
    
    * Remove unnecessary class: MergeAssignTransformer, NodeTestTransformer and IfConditionVisitor in ifelse_transformer. 
    a9dca580
yolov3.py 10.6 KB