'Loads the optimizer (updater) state from the file.
Parameters
fname : str
Path to input states file.'

def load_optimizer_states(self, fname):

    assert (self._updater is not None), 'Cannot    save    states    for    distributed    training'
    self._updater.set_states(open(fname, 'rb').read())
