Created by: heavengate
Add inplace_abn OP
- original PR: https://github.com/PaddlePaddle/Paddle/pull/19465
-
inplace_abn_grad
only takesY
as input, remove inputX
- add
inplace_abn
Python API instead of implement inbatch_norm
python API to specify in place instead ofbuild_strategy.emable_inplace
becausebatch_norm_grad
takesX
as input,inplace_abn_grad
takesY
as input,OpMaker
is different,butop_type
should be choose in python API,whereenable_inplace
strategy is unknown
中文文档: https://github.com/PaddlePaddle/FluidDoc/pull/1938