code: def mem(msg=""):
      """Memory usage in MB"""
  
      time.sleep(5)
  
      with open("/proc/self/status") as f:
          memusage = f.read().split("VmRSS:")[1].split("\n")[0][:-3]
  
      print(
          msg,
          "- memory:",
          np.round(float(memusage.strip()) / 1024.0),
          "MB",
      )
  
imports: import logging
  import time
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: mem(msg) without return types