code: def mem_used(process):
      """
      Return the non-swapped physical memory the Python process is using.
      """
      return process.memory_info().rss
  
file_path: CNTK/bindings/python/cntk/ops/tests/ops_test_utils.py
imports: import os
  import numpy
  import cntk
  from cntk.tests.test_utils import *
  from cntk.device import cpu, gpu
  from ...ops.functions import Function
  from cntk.internal import sanitize_dtype_cntk
  from cntk.internal.utils import eval
  from ..None import constant
label_desc: Use image node_id 3 for calling a global function with example usage: mem_used(process) and returns: process