code: def _reset(self):
      
      self.basis = np.random.randn(self.filterDim, self.outputDim)
      self.basis /= np.sqrt(np.sum(self.basis ** 2, axis=0))
      self._iteration = 0
      self.losses = {}
docs: Reinitializes basis functions, iteration number and loss history.