class_docstr: Compute `Y = g(X) = exp(X) - 1`.
  
  This `Bijector` is no different from Chain([Shift(-1), Exp()]).
  
  However, this makes use of the more numerically stable routines
  `tf.math.expm1` and `tf.log1p`.
  
  Example Use:
  
  ```python
  # Create the Y=g(X)=expm1(X) transform.
  expm1 = Expm1()
  x = [[[1., 2],
         [3, 4]],
        [[5, 6],
         [7, 8]]]
  expm1(x) == expm1.forward(x)
  log1p(x) == expm1.inverse(x)
  ```
  
  Note: the expm1(.) is applied element-wise but the Jacobian is a reduction
  over the event space.
class_docstr_tok: ["Compute","`","Y","=","g","(","X",")","=","exp","(","X",")","-","1","`",".","This","`","Bijector","`","is","no","different","from","Chain","(","[","Shift","(","-1",")",",","Exp","(",")","]",")",".","However",",","this","makes","use","of","the","more","numerically","stable","routines","`","tf.math.expm1","`","and","`","tf.log1p","`",".","Example","Use",":","``","`","python","#","Create","the","Y=g","(","X",")","=expm1","(","X",")","transform",".","expm1","=","Expm1","(",")","x","=","[","[","[","1.",",","2","]",",","[","3",",","4","]","]",",","[","[","5",",","6","]",",","[","7",",","8","]","]","]","expm1","(","x",")","==","expm1.forward","(","x",")","log1p","(","x",")","==","expm1.inverse","(","x",")","``","`","Note",":","the","expm1","(",".",")","is","applied","element-wise","but","the","Jacobian","is","a","reduction","over","the","event","space","."]
docstr: Returns the inverse `Bijector` evaluation, i.e., Y = g^-1(X).
docstr_tok: ["Returns","the","inverse","`","Bijector","`","evaluation",",","i.e.",",","Y","=","g^-1","(","X",")","."]
code: def _inverse(self, y):
      """Returns the inverse `Bijector` evaluation, i.e., Y = g^-1(X)."""
      return tf.math.log1p(y)
  
file_path: probability/tensorflow_probability/python/bijectors/expm1.py
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector
  from tensorflow_probability.python.bijectors import invert
label_desc: Use image node_id 5 for calling the Expm1 obj's underlying member method code with example usage: obj._inverse(y) and returns: tf