def __getstate__(self):
        d = self.__dict__.copy()
        if d in "history":
            del d["history"]
        return d
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/gof/toolbox.py/ReplaceValidate.__getstate__/swapped operands of `in`