As you said, the nn.Module does not have the reset_ method implemented.
Where did you find the code?
Also, there are a few issues regardless of the unknown reset_ method:


nn.module does not exist and should probably be nn.Module

the super().__init__() call is outside of the class’ __init__ method
the indentation of super().reset_() doesn’t match the def reset indent.