Solved by ptrblck in post #5 
              
              
                Thanks for code. 
I tried to create a small reproducible code snippet and it just seems the base class’ reset_ is called, which does nothing, since it’s implemented as a pass: 
class AbstractConnection(ABC, nn.Module):
    def __init__(self):
        super(AbstractConnection, self).__init__()
      …