This PR creates a more flexible PipelessPlugin class, by allowing to implement code before and after each app hook. In this way, plugins can better adapt to a higher number of use cases. For exmaple, previously plugins implementing post-process did not work properly with ONNX inference, now those plugins can implement isntead after_post_process and they will work always.
Description of the change
This PR creates a more flexible
PipelessPlugin
class, by allowing to implement code before and after each app hook. In this way, plugins can better adapt to a higher number of use cases. For exmaple, previously plugins implementingpost-process
did not work properly with ONNX inference, now those plugins can implement isnteadafter_post_process
and they will work always.Benefits
Possible drawbacks
Applicable issues
Additional information