[ Dy2Static ] convert_call support staticmethod for class. (#44983)
* 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
Showing
想要评论请 注册 或 登录