Agreed! As i’m learning, I’m being astounded by the flexibility of PyTorch. You can customize everything (I don’t know much a bout neural nets yet, so I’m sure I’ll continued to be blown away!)
I meant flexibility in programming style. I’m coming from a Java background, where the parent cannot see child specific attributes unless they are past to super(). That means I have to tip-toe around with child/parent relationships because unless I REALLY know what’s going on in the parent, I can’t trust it to not mess with the child in unexpected ways.
But, Python is not Java, so I’m okay with learning a new style. And this inheritance weirdness spurred me to look at the source code for nn.Sequential, and for a change I actually was able to understand what was going on. Normally, source code only confuses me more.
All in all, PyTorch has been an awesome experience.