code: def model_sizes(m, size=(64, 64)):
      "Pass a dummy input through the model `m` to get the various sizes of activations."
      with hook_outputs(m) as hooks:
          _ = dummy_eval(m, size=size)
          return [o.stored.shape for o in hooks]
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 5 for calling a global function with example usage: model_sizes(m, size) and returns: unknown