@property
    def encoding(self):
        if self._encoding is None:
            self._encoding = {}
        return self._encoding
Restores the optimizer to a given state.
dataset/ETHPy150Open pydata/xarray/xarray/core/variable.py/Variable.encoding--crossover with--dataset/ETHPy150Open SMART-Lab/smartlearner/smartlearner/interfaces/optimizer.py/Optimizer.setstate