[PHI] Move spectral_norm to phi (#44577)
* Add kernel declarations
* Copy kernel implementation code
* Transfer implementation code
* Fix: Move out_grad to first
* Register new kernels
* Remove old kernels
* Move out_grad to last
* Fix bugs
* Transfer infermeta
* Add yaml files
* Add blank line
* Fix code style
* Optimize directory structure
Co-authored-by: NBobholamovic <linmanhui@baidu.com>
Showing
想要评论请 注册 或 登录