support prim & cinn test for layer_norm (#51272)
* support layer_norm prim and cinn test
* enable cinn test
* fix merge conflict
* polish input for check_output_with_place
* fix merge conflict
* add more test case
* fix merge conflict
* polish test case
* polish op_test
* change ln_g rules
* modify scale is none case
* modify scale is none case
* add public_python_api for check prim
* modify setoutputgrad and fp64bug
* add todo & delete log
* recover
* fix some errors
* recover
* recover
* recover
* recover
* fix merge conflicts
---------
Co-authored-by: Nwangruting <wangruting@baidu.com>
Showing
想要评论请 注册 或 登录