• X
    [CherryPick] Support TypeHint for function decorated by @to_static (#47147) · 247ef477
    xiongkun 提交于
    * [Dy2Static] Support TypeHint for function decorated by @to_static (#47121)
    
    * Add TypeHint Transformer
    
    * add unittest for typehint transformer
    
    * [Dy2Static] Remove GradTransformer (#47063)
    
    * [Dy2Static] Remove GradTransformer
    1. fix einsum infershape bugs.
    2. remove grad_transformer and unify paddle.grad and paddle.static.gradient.
    3. add dygraph_and_dy2static_only decorator for dy2static.
    
    * fix bugs
    
    * rename
    247ef477
base.py 29.0 KB