code: def _cannot_batch(x, b, *, msg):
      (x,) = x
      (b,) = b
      if b is batching.not_mapped:
          return x, b
      else:
          raise ValueError(msg)
  
file_path: equinox/equinox/internal/_nontraceable.py
imports: import functools
  from typing import Optional
  import jax
  import jax.core
  import jax.interpreters.ad
  import jax.interpreters.batching
  import jax.interpreters.mlir
  import jax.tree_util
  from jaxtyping import PyTree
  from .._ad import nondifferentiable
  from .._errors import error_if
  from .._filters import combine, is_array, partition
label_desc: Use image node_id 7 for calling a global function with example usage: _cannot_batch(x, b) and returns: x,  b