class_docstr: Tests the correctness of the Y = g(X) = X / (1 + |X|) transformation.
class_docstr_tok: ["Tests","the","correctness","of","the","Y","=","g","(","X",")","=","X","\/","(","1","+","|X|",")","transformation","."]
code: def testBijectorBounds(self):
      bijector = softsign.Softsign(validate_args=True)
      with self.assertRaisesOpError(">= -1"):
          self.evaluate(bijector.inverse(-3.0))
      with self.assertRaisesOpError(">= -1"):
          self.evaluate(
              bijector.inverse_log_det_jacobian(-3.0, event_ndims=0)
          )
  
      with self.assertRaisesOpError("<= 1"):
          self.evaluate(bijector.inverse(3.0))
      with self.assertRaisesOpError("<= 1"):
          self.evaluate(
              bijector.inverse_log_det_jacobian(3.0, event_ndims=0)
          )
  
file_path: probability/tensorflow_probability/python/bijectors/softsign_test.py
imports: import numpy
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import softsign
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the SoftsignBijectorTest obj's underlying member method code with example usage: obj.testBijectorBounds() without return types