[cherry pick] Refine param conversion logic in layer.to (#38068)
优化layer.to实现逻辑,相关pr: Remove additional warnning in layer.to ( #36700) Refine param conversion logic in layer.to ( #36862) Fix Layer.to() of device bug ( #37156)
Showing
想要评论请 注册 或 登录