@pranav
I guess this is more of a python question - But, doesn’t Bottle inherit from nn.Module alone?
Bottle.__bases__ returns (<class 'torch.nn.modules.module.Module'>,). So how does super(Bottle, self).forward(...) call Linear's forward (which is turn falls back to nn.Linear's forward) ?
Shouldn’t it call nn.Module's forward which should raise a Not Implemented error?