• X
    [ Dy2Static ] convert_call support staticmethod for class. (#44983) · d0096eaf
    xiongkun 提交于
    * convert_call support staticmethod for class.
    
    * while support for python container.
    It is convenient to convert more dynamic graph codes into static graphs.
    
    * cond support python container
    
    * add unittest for staticmethod convert_call
    
    * fix bugs
    
    * add unittest for item interface
    
    * fix bugs
    
    * change to np.testing.assert_allclose
    
    * code format
    
    * fix comments.
    
    * code format
    d0096eaf
math_op_patch.py 18.4 KB