Fork自 PaddlePaddle / PaddleDetection
In most times, const_cast is bad and break interface contract and