code: def _print_shapes(o, bs):
      if isinstance(o, torch.Size):
          return _get_shapes(o, bs)
      elif isinstance(o, tuple):
          return _get_shapes(o[0], bs)
      else:
          return str([_print_shapes(x, bs) for x in o])
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 11 for calling a global function with example usage: _print_shapes(o, bs) and returns: _get_shapes, _get_shapes, str