[phi] Transfer merged_momentum yaml to phi (#45359)
* add legacy_api.yaml * set merged_momentum inplace only * support inplace optional<vector<tensor>> * add dygraph_mode api * optimize TensorToConstDenseTensorPtr
Showing
想要评论请 注册 或 登录
* add legacy_api.yaml * set merged_momentum inplace only * support inplace optional<vector<tensor>> * add dygraph_mode api * optimize TensorToConstDenseTensorPtr