class_docstr: Tests correctness of the cumsum bijector.
class_docstr_tok: ["Tests","correctness","of","the","cumsum","bijector","."]
docstr: Helper for `testBijector`.
docstr_tok: ["Helper","for","`","testBijector","`","."]
code: def _checkBijectorInAllDims(self, x):
      """Helper for `testBijector`."""
      x = self._build_tensor(x)
      for axis in range(-self.evaluate(tf.rank(x)), 0):
          bijector = cumsum.Cumsum(axis=axis, validate_args=True)
          self.assertStartsWith(bijector.name, "cumsum")
  
          y = tf.cumsum(x, axis=axis)
          self.assertAllClose(y, self.evaluate(bijector.forward(x)))
          self.assertAllClose(x, self.evaluate(bijector.inverse(y)))
  
file_path: probability/tensorflow_probability/python/bijectors/cumsum_test.py
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import cumsum
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 5 for calling the _CumsumBijectorTest obj's underlying member method code with example usage: obj._checkBijectorInAllDims(x) without return types