code: def test_classification(model):
      test_img_file = os.path.join("test_imgs", "bikers.jpg")
      img = mx.image.imread(test_img_file)
      img = mx.image.imresize(
          img, model.input_shape[1], model.input_shape[2]
      )
      img = img.expand_dims(0).astype("float32")
  
      onnx_session = rt.InferenceSession(model.onnx_model, None)
      input_name = onnx_session.get_inputs()[0].name
  
      gluon_result = model.predict(img).asnumpy()
      onnx_result = onnx_session.run([], {input_name: img.asnumpy()})[0]
      assert_almost_equal(gluon_result, onnx_result, decimal=3)
  
file_path: gluon-cv/tests/onnx/test_inference.py
label_desc: Use image node_id 1 for calling a global function with example usage: test_classification(model) without return types