Пример #1
0
 def _inverse(self, y):
     return tf.atanh(y)
Пример #2
0
def artanh(x):
    eps = BALL_EPS[x.dtype]
    return tf.atanh(tf.minimum(tf.maximum(x, -1 + eps), 1 - eps))