Ejemplo n.º 1
0
 def _inverse(self, y):
     return tf.atanh(y)
Ejemplo n.º 2
0
def artanh(x):
    eps = BALL_EPS[x.dtype]
    return tf.atanh(tf.minimum(tf.maximum(x, -1 + eps), 1 - eps))