code: def test_mean():
      def verify_mean(data_shape, axis, exclude, keepdims):
          dtype = "float32"
          x = relay.var("x", shape=data_shape, dtype=dtype)
          y = relay.mean(x, axis, keepdims, exclude)
          func = relay.Function([x], y)
          x_data = np.random.uniform(size=data_shape).astype(dtype)
          verify_results(
              func, [x_data], "test_mean", rtol=1e-5, atol=1e-5
          )
  
      verify_mean((1, 2), 0, False, False)
      verify_mean((1, 2), 0, True, False)
      verify_mean((1, 2), 0, True, True)
      verify_mean((1, 2), 1, True, True)
      verify_mean((3, 2, 1), 1, False, True)
  
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 18 for calling a global function with example usage: test_mean() without return types