AttributeError: cannot assign module before Module.__init__() call even if initialized

Thanks for your response. I checked my Python and Pytorch versions. I’m using Python 3.6.7 and Pytorch 0.4.1, maybe should I update my Pytorch version?
Concerning the super call, I tried the two methods but in vain.