code: def _default_ildj_ratio_fn(
      p, x, q, y, event_ndims, p_kwargs, q_kwargs
  ):
      min_event_ndims = p.inverse_min_event_ndims
      unreduced_fldj_ratio = p.inverse_log_det_jacobian(
          x, event_ndims=min_event_ndims, **p_kwargs
      ) - q.inverse_log_det_jacobian(
          y, event_ndims=min_event_ndims, **q_kwargs
      )
      return _reduce_ldj_ratio(
          unreduced_fldj_ratio,
          p,
          q,
          ps.shape(x),
          min_event_ndims,
          event_ndims,
      )
  
file_path: probability/tensorflow_probability/python/bijectors/ldj_ratio.py
imports: import inspect
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector
  from tensorflow_probability.python.internal import prefer_static
label_desc: Use image node_id 3 for calling a global function with example usage: _default_ildj_ratio_fn(p, x, q, y, event_ndims, p_kwargs, q_kwargs) and returns: _reduce_ldj_ratio