Libtorch support for PSROI Pooling and PSROI Align layer?

Hi, I am currently try using light head rcnn, I got it trained in pytorch.
But I have some questions about this:

  1. how to export this model which using self-defined layer into libtorch traced model?

  2. How to convert the model to onnx and then convert it into trt engine??

Does any one worked with this before?