def setPrevUnits(self, units):
    self._prevUnits = units
    self._weights = np.zeros((self._units, units))
    self._weights = (np.random.standard_normal(size=self._weights.shape) * 0.01)
def setPrevUnits(self, units):
    self._prevUnits = units
    self._weights = np.zeros((self._units, units))
    self._weights = (np.random.standard_normal(size=self._weights.shape) * 0.01)