code: def _hook_inner(m, i, o):
      return o if isinstance(o, Tensor) or is_listy(o) else list(o)
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 1 for calling a global function with example usage: _hook_inner(m, i, o) and returns: unknown