class_docstr: Tests correctness of the Ascending transformation.
class_docstr_tok: ["Tests","correctness","of","the","Ascending","transformation","."]
code: def testBijectiveAndFinite(self):
      bij = ascending.Ascending()
      x = (np.random.randn(3, 10)).astype(np.float32)
      y = np.sort(np.random.randn(3, 10), axis=-1).astype(np.float32)
      bijector_test_util.assert_bijective_and_finite(
          bij, x, y, eval_func=self.evaluate, event_ndims=1
      )
  
file_path: probability/tensorflow_probability/python/bijectors/ascending_test.py
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import ascending
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 5 for calling the AscendingBijectorTest obj's underlying member method code with example usage: obj.testBijectiveAndFinite() without return types