code: def show_batch(
      x: InvisibleTensor,
      y: TensorImage,
      samples,
      ctxs=None,
      max_n=10,
      nrows=None,
      ncols=None,
      figsize=None,
      **kwargs,
  ):
      if ctxs is None:
          ctxs = get_grid(
              min(len(samples), max_n),
              nrows=nrows,
              ncols=ncols,
              figsize=figsize,
          )
      ctxs = show_batch[object](
          x, y, samples, ctxs=ctxs, max_n=max_n, **kwargs
      )
      return ctxs
  
imports: from __future__ import annotations
  from ..basics import *
  from .all import *
label_desc: Use image node_id 9 for calling a global function with example usage: show_batch(x, y, samples, ctxs, max_n, nrows, ncols, figsize) and returns: ctxs