Created by: NHZlX
We have upgraded the Paddle-TRT to support the model trained by paddleslim.
There are the following requirements for the model supported by paddleslim:
- Normally, we only quant the backbone of the model.
- the weight of the model should be quantized by channel_wise_abs_max.
- add Compressor for conv and mud, and add AddQuantDequantPass for pool2d, elementwise_add, leaky_relu.