Feature Request: Get plugin properties

When I create a TensoRT engine from a UFF, ONNX, or some other serialized graph, plugins are automatically created for layers such as Non Max Suppression. This plugin’s parameters (such as DetectionOutputParameters) are fetched from the input UFF and the plugin object is created. However, in my code I have no way to retrieve these parameters, therefore I have to hard-code the values such as keepTopK in my code. Any changes to these in the model will require code changes. In order to improve portability, it would be really nice if we were able to find the plugin in the graph, get its parameters, and then be able to use these parameters in our program. That way, we could change our model without having to change our code. Hope NVIDIA considers this for upcoming releases and please comment if you’d find this feature useful.