@abstractmethod
    def getstate(self):
        raise NotImplementedError("Subclass of 'Optimizer' must implement 'getstate()'.")
Returns the state of the optimizer.
dataset/ETHPy150Open SMART-Lab/smartlearner/smartlearner/interfaces/optimizer.py/Optimizer.getstate