def _get_moments_reproduce_bug(ops, X):
    """Replicate bug from Thinc 6.8, for backwards compatibility."""
    mu = X.mean(axis=1, keepdims=True)
    var = X.var(axis=1, keepdims=True) + 1e-08
    return ops.asarray([X.shape[0]], dtype='f'), mu, var
