def linear_mixture_to_original(k1, k2, b1, b2):
    """Translating linear mixture coefficients back to original
    parameterization.
    """
    # (batch_size, )
    k = k1 + k2

    # (batch_size, )
    b = (k1 * b1 + k2 * b2) / (k + 1e-7)

    return k, b