fix bugs in codegen for operators (#43594)
* add codegen for get_expected_kernel, add argument mapping for selected_rows kernels, fix other bugs in codegen for operators. * move bernoulli, erf, mv, poisson, trunc, erf to api.yaml and corresponding backward api to backward.yaml * generate EmptyGradOpMaker for ops without grad op * add code to generate all possible kernel signatures for infrt
Showing
想要评论请 注册 或 登录