class_docstr: Test caching with BrokenBijector.
code: def testHandlesNonStaticEventNdims(self):
      x_ = [[[1.0, 2.0], [3.0, 4.0]]]
      x = array_ops.placeholder_with_default(x_, shape=None)
      event_ndims = array_ops.placeholder(dtype=np.int32, shape=[])
      bij = ExpOnlyJacobian(forward_min_event_ndims=1)
      bij.inverse_log_det_jacobian(x, event_ndims=event_ndims)
      with self.cached_session() as sess:
          ildj = sess.run(
              bij.inverse_log_det_jacobian(x, event_ndims=event_ndims),
              feed_dict={event_ndims: 1},
          )
      self.assertAllClose(-np.log(x_), ildj)
  
imports: import abc
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.distributions import bijector
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the BijectorReduceEventDimsTest obj's underlying member method code with example usage: obj.testHandlesNonStaticEventNdims() without return types