cyrusbehr / tensorrt-cpp-api

TensorRT C++ API Tutorial
MIT License
543 stars 66 forks source link

Enhance Engine Class Readability and Maintainability #72

Closed thomaskleiven closed 1 month ago

thomaskleiven commented 1 month ago

Closes #71

I've made an attempt on improving the readability and maintainability of the Engine class. This PR includes a refactor, with an option to split the logic into smaller files. The refactoring only involves lifting and shifting inline functions into .inl and .h files; no logic or functionality has been changed.

If the current structure works better for you, feel free to dismiss this PR.

cyrusbehr commented 1 month ago

I had a look over, it looks good. Is this ready to merge? Or you are still working on it (marked as draft)?