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 testBijectorForwardInverseEventDimsOne(self):
      bijector = softsign.Softsign(validate_args=True)
      self.assertStartsWith(bijector.name, "softsign")
      x = 2.0 * np.random.randn(2, 10)
      y = self._softsign(x)
      self.assertAllClose(y, self.evaluate(bijector.forward(x)))
      self.assertAllClose(x, self.evaluate(bijector.inverse(y)))
  
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 6 for calling the SoftsignBijectorTest obj's underlying member method code with example usage: obj.testBijectorForwardInverseEventDimsOne() without return types