Question: How to define custom layers for onnx model? Any example will be helpful. thx!
Details:
I notice that NvOnnxParserRuntime.h provides the API IPluginFactory* createPluginFactory for onnx custom layers, however, I cannot find any examples about how to use this API. By the way, the official doc only provides examples for caffe and uff model.
Although it is possible to compile onnxparser library based on the open source project onnx_trt [url]https://github.com/onnx/onnx-tensorrt[/url], I don’t think it is a good way to address my issue.