def load_snapshot(harn, load_path):
    """
        Sets the harness to its state just after an epoch finished

        Args:
            str: path to previously saved snapshot
        """
    harn.info('Loading previous state: {}'.format(load_path))
    snapshot_state = harn.xpu.load(load_path)
    harn.set_snapshot_state(snapshot_state)
    harn.info('Previous snapshot loaded...')
