code: def capture_gpu_memory_usage():
      info = nvmlDeviceGetMemoryInfo(nvmlDeviceGetHandleByIndex(0))
      memory_used = (info.used / 1024) / 1024
      return memory_used
  
imports: from pynvml import nvmlDeviceGetHandleByIndex, nvmlDeviceGetMemoryInfo
  from Configuration import Settings
label_desc: Use image node_id 1 for calling a global function with example usage: capture_gpu_memory_usage() and returns: memory_used