• 0
    [Dy2stat]support Python3 type annotation (#36544) · db8425ec
    0x45f 提交于
    * Support Py3 type annotations in @to_static
    
    * support type hint for args in func
    
    * support type hint assign
    
    * if annotation and value(Constant) are diffent type, we use value type
    
    * polish type_from_annotation()
    
    * code format
    
    * code format
    
    * remove useless commentary
    
    * fix review
    Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
    db8425ec
error.py 14.0 KB