class_docstr: Tests the correctness of the Y = JointMap({nested}) transformation.
code: def test_inverse_has_event_ndims(self):
      bij_reshape = invert.Invert(
          joint_map.JointMap([reshape.Reshape([])])
      )
      bij_reshape.inverse_event_ndims([10])  # expect [9]
      self.assertEqual(bij_reshape.inverse_event_ndims([10]), [9])
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.bijectors import joint_map
  from tensorflow_probability.python.bijectors import ldj_ratio
  from tensorflow_probability.python.bijectors import reshape
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import shift
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 6 for calling the JointMapBijectorTest obj's underlying member method code with example usage: obj.test_inverse_has_event_ndims() without return types