def adjust_for_viewer(self, X):
        return numpy.clip(X * 2. - 1., -1., 1.)
Adjusts the data to be compatible with a viewer that expects values to
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/binarized_mnist.py/BinarizedMNIST.adjust_for_viewer