def __eq__(self, other):
        return type(self) == type(other) and hash(self) == hash(other)
.. todo::
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/sandbox/cuda_convnet/response_norm.py/CrossMapNorm.__eq__