code: def normalize_weights(self, IIMax, IEMax, EIMax):
      
      weights = [self.weightsII, self.weightsIEL, self.weightsIER,
                 self.weightsELI, self.weightsERI]
      norms = [IIMax, IEMax, IEMax, EIMax, EIMax]
      for w, n in zip(weights, norms):
        maximum = np.amax(np.abs(w))
        w /= maximum
        w *= n
docs: Rescale our weight matrices to have a certain maximum absolute value.
      :param IINorm: The target maximum for the II weights
      :param IENorm: The target maximum for both IE weight matrices
      :param EINorm: The target maximum for both EI weight matrices