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