code: def assert_eq(a, b, scheduler="sync"):
      if hasattr(a, "compute"):
          a = a.compute(scheduler=scheduler)
      if hasattr(b, "compute"):
          b = b.compute(scheduler=scheduler)
  
      assert a == b
  
label_desc: Use image node_id 1 for calling a global function with example usage: assert_eq(a, b, scheduler) without return types