• X
    [Dy2static] FunctionScopeVisitor Enhance and substitute the original NameVisitor in If (#43967) · b603dd55
    xiongkun 提交于
    * add support for control flow block analysis
    
    * move FunctionNameLivenessAnalysis into utils
    
    * pass test_ifelse.py
    
    * remove duplicate data_layer_not_check
    
    * pass the test_ifelse.py
    
    * fix unittest error .
    
    * fix all ci error in first version
    
    * temporay disable CreateVariableTransformer
    
    * fix ci errors
    
    * fix function name liveness analysis bugs
    
    * modifty def cond
    
    * fix
    
    * fix ci error - v2
    
    * fix by code review
    
    * change return_name_ids -> return_name
    b603dd55
utils.py 16.8 KB