code: def gather_memory_info():
      """Gather memory info."""
      mem_info = test_log_pb2.MemoryInfo()
      vmem = psutil.virtual_memory()
      mem_info.total = vmem.total
      mem_info.available = vmem.available
      return mem_info
  
file_path: tensorflow-upstream/tensorflow/tools/test/system_info_lib.py
imports: import glob
  import multiprocessing
  import platform
  import re
  import socket
  import cpuinfo
  import psutil
  from tensorflow.core.util import test_log_pb2
  from tensorflow.python.client import device_lib
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import gfile
  from tensorflow.tools.test import gpu_info_lib
label_desc: Use image node_id 3 for calling a global function with example usage: gather_memory_info() and returns: mem_info