code: def reset_params(self):
          
          units = [N_FEATURES]
          units += [self.hidden_units] * self.num_hidden
          units += [N_CLASSES]
  
          sequence = []
          for u0, u1 in zip(units, units[1:]):
              sequence.append(nn.Linear(u0, u1))
              sequence.append(self.nonlin)
              sequence.append(nn.Dropout(self.dropout))
  
          sequence = sequence[:-2]
          self.sequential = nn.Sequential(*sequence)
docs: (Re)set all parameters.