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:
          x = dummy_eval(m, size)
          return [o.stored.shape for o in hooks]
  
imports: import base64
  import os
  import sys
  import cv2
  import numpy
  import paddle
  import paddle.nn
  from PIL import Image
label_desc: Use image node_id 7 for calling a global function with example usage: model_sizes(m, size) and returns: unknown