Object-Oriented Design for Implementation

https://preview.d2l.ai/d2l-en/master/chapter_linear-networks/oo-design.html