View source on GitHub |
Computes the inverse softplus, i.e., x = softplus_inverse(softplus(x)).
tfp.substrates.numpy.math.softplus_inverse(
x, name=None
)
Mathematically this op is equivalent to:
softplus_inverse = log(exp(x) - 1.)
Args | |
---|---|
x
|
Tensor . Non-negative (not enforced), floating-point.
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
Tensor . Has the same type/shape as input x .
|