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
![屏幕快照 2020-03-23 下午9 39 24](https://user-images.githubusercontent.com/12605721/77322725-1fb4ad80-6d4f-11ea-8cde-9758a2edc1bb.png)
![屏幕快照 2020-03-23 下午9 39 34](https://user-images.githubusercontent.com/12605721/77322808-41159980-6d4f-11ea-9ecb-04f1a53bda6c.png)
![屏幕快照 2020-03-23 下午9 39 43](https://user-images.githubusercontent.com/12605721/77322812-42df5d00-6d4f-11ea-9143-6674c4e7a876.png)