This article describes how to use TorchScript custom C++ operators to build the post-processing network of an object detection model and use PAI-Blade to optimize the model.