TensorFlow 2.0 Beta is available Learn more

tfp.distributions.softplus_inverse

Computes the inverse softplus, i.e., x = softplus_inverse(softplus(x)).

tfp.distributions.softplus_inverse(
    x,
    name=None
)

Defined in python/internal/distribution_util.py.

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.