I’m reading mobilenetv2 implementation vision/mobilenetv2.py at master · pytorch/vision · GitHub
I noticed that when doing init(), some module are using super(XXX, self).init().
For example, class InvertedResidual() are using
super(InvertedResidual, self).init()
This class inherited from nn.Module, my understanding is: it just needs to use super().init() to get its parent class(nn.Module) to do initialization, but why passing itself to super()?