if dhn is not None: dHout[nb_seq - 1] += dhn.copy()