code: def test_binary_op():
      def check_binary_op(opfunc, dtype):
          t1 = relay.TensorType((5, 10, 5))
          t2 = relay.TensorType((5, 10, 5))
          x = relay.var("x", t1, dtype=dtype)
          y = relay.var("y", t2, dtype=dtype)
          z = opfunc(x, y)
          x_data = np.random.rand(5, 10, 5).astype(dtype)
          y_data = np.random.rand(5, 10, 5).astype(dtype)
          func = relay.Function([x, y], z)
          verify_results(
              func,
              [x_data, y_data],
              "test_binary_op",
              rtol=1e-5,
              atol=1e-5,
          )
  
      for opfunc, ref in [
          (relay.add, np.add),
          (relay.subtract, np.subtract),
          (relay.multiply, np.multiply),
          (relay.divide, np.divide),
      ]:
          for dtype in ["float32"]:
              check_binary_op(opfunc, dtype)
  
imports: import pytest
  import numpy
  import onnxruntime
  import tvm
  from tvm import relay
  from tvm.contrib.target.onnx import to_onnx
  from tvm.relay.testing import run_infer_type
label_desc: Use image node_id 24 for calling a global function with example usage: test_binary_op() without return types