def reset(self, dim):
        if self.dim != dim:
            self.dim = dim
            self.normals = self.rand.randn(self.projection_count, dim)
Resets / Initializes the hash for the specified dimension.
dataset/ETHPy150Open pixelogik/NearPy/nearpy/hashes/randomdiscretizedprojections.py/RandomDiscretizedProjections.reset