In-place reshaping is not compatible with ONNX
Created by: winston-zillow
When trying to export the model to ONNX using paddle2onnx, the in-place reshapings used by ERNIE cause error since ONNX doesn't seem to support in-place operation. Please consider changing in_place
to False
.
Pull request at https://github.com/PaddlePaddle/ERNIE/pull/394