class_docstr: The `default_event_space_bijector` for `tfd.BatchReshape`.
class_docstr_tok: ["The","`","default_event_space_bijector","`","for","`","tfd.BatchReshape","`","."]
docstr: Maybe return a `_NonCompositeTensorBatchReshapeBijector`.
docstr_tok: ["Maybe","return","a","`","_NonCompositeTensorBatchReshapeBijector","`","."]
code: def __new__(cls, *args, **kwargs):
      """Maybe return a `_NonCompositeTensorBatchReshapeBijector`."""
  
      if cls is _BatchReshapeBijector:
          if args:
              base_bijector = args[0]
          else:
              base_bijector = kwargs.get("base_bijector")
  
          if not auto_composite_tensor.is_composite_tensor(
              base_bijector
          ):
              return _NonCompositeTensorBatchReshapeBijector(
                  *args, **kwargs
              )
      return super(_BatchReshapeBijector, cls).__new__(cls)
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector
  from tensorflow_probability.python.distributions import distribution
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import auto_composite_tensor
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import parameter_properties
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling the _BatchReshapeBijector obj's underlying member method code with example usage: obj.__new__(cls) and returns: super, _NonCompositeTensorBatchReshapeBijector