class_docstr: Bijector to associate a numeric inverse with any invertible function.
class_docstr_tok: ["Bijector","to","associate","a","numeric","inverse","with","any","invertible","function","."]
code: def _batch_shape_tensor(self, x_event_ndims):
      fn_shape = ps.shape(
          self.bound_fn(self.domain_constraint_fn(0.0))
      )  # pylint: disable=not-callable
      return fn_shape[: ps.rank_from_shape(fn_shape) - x_event_ndims]
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector
  from tensorflow_probability.python.internal import callable_util
  from tensorflow_probability.python.internal import custom_gradient
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.math import gradient
  from tensorflow_probability.python.math import root_search
label_desc: Use image node_id 9 for calling the ScalarFunctionWithInferredInverse obj's underlying member method code with example usage: obj._batch_shape_tensor(x_event_ndims) and returns: fn_shape