예제 #1
0
def log_b(x):
    """
    helper for hadamard decomp.
    """
    return 2 * jnp.log(top_b(x) / bottom(x))
예제 #2
0
def second_log_a(x):
    """
    helper for hadamard decomp.
    """
    return jnp.log(back_log_in(x))
예제 #3
0
def first_log_a(x):
    """
    helper for hadamard decomp.
    """
    return 4 * jnp.log(top_a(x) / bottom(x))
예제 #4
0
def log_b(x):
    return 2 * jnp.log(top_b(x) / bottom(x))
예제 #5
0
def second_log_a(x):
    return jnp.log(back_log_in(x))
예제 #6
0
def first_log_a(x):
    return 4 * jnp.log(top_a(x) / bottom(x))