[PRIM][IR] Migrate vjp rules to new ir in non primitive mode (#55647)
* [prim][newir] add basic framework for primitive * support desctensor in new ir * add vjp interface * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * [prim][newir] add basic framework for primitive * support desctensor in new ir * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * add eager and static backend for warp lower level api * support call_vjp pybind * polish code and add test for vjp * remove useless code * polish code * remove useless code * support mean vjp * add test for mean vjp and support has_vjp function * fix call_vjp * polish code * add primitive ops set for backend * add vjp test for tanh_ * fix inference CI * fix inference ci * modify fluid cmake * remove useless deps * add cmake --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
Showing
paddle/fluid/primitive/README.md
0 → 100644
test/cpp/prim/test_vjp.cc
0 → 100644
test/ir/new_ir/test_ir_vjp.py
0 → 100644
想要评论请 注册 或 登录