[Dy2st]Fix error when set buffer in forward (#38540)
* fix error when set buffer in forward * add unittest * refine class name * refine not framework.in_dygraph_mode() in if * fix UT error * add comment * refine code * remove useless import
Showing
想要评论请 注册 或 登录