code: def reset(self, dim):
          
          if self.dim != dim:
              self.dim = dim
              self.normals = self.rand.randn(self.projection_count, dim)
docs: Resets / Initializes the hash for the specified dimension.