code: def check_match(
      consumed_reported,
      peaked_reported,
      consumed_expected,
      peaked_expected,
      abs_tol=0,
  ):
      assert isclose(
          consumed_reported, consumed_expected, abs_tol=abs_tol
      ), f"Consumed RAM reported: {consumed_reported} == real: {consumed_expected}"
      assert isclose(
          peaked_reported, peaked_expected, abs_tol=abs_tol
      ), f"Peaked RAM reported: {peaked_reported} == real: {peaked_expected}"
  
imports: import numpy
  import torch
  import re, gc
  from math import isclose
  import inspect
label_desc: Use image node_id 20 for calling a global function with example usage: check_match(consumed_reported, peaked_reported, consumed_expected, peaked_expected, abs_tol) without return types