@abstractmethod
    def setstate(self, state):
        raise NotImplementedError("Subclass of 'Optimizer' must implement 'setstate(state)'.")
Restores the optimizer to a given state.
dataset/ETHPy150Open SMART-Lab/smartlearner/smartlearner/interfaces/optimizer.py/Optimizer.setstate