Hello everybody,
I am new to PyTorch, and I am looking for some PyTorch Coding Conventions or Best Practices. PyTorch is fantastic to allow you a lot of freedom, but it can sometimes be challenging to find something in someone else code when they have a completely different way of coding with PyTorch. There might also be some best practices to ensure your code can run as fast as possible.
I am thinking about something similar to Serialization semantics 40 but describing more straightforward cases such as in which context should one create a separate module to define a part of a model and the way it should be structured.
The goal is that anyone who knows the coding conventions can easily find what they are looking for in the code and extend it in a way other people will be able to understand it quickly too.
Thanks for your time,