Пример #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))