code: def ref_resize_ort(
      x,
      roi,
      scales,
      sizes,
      mode,
      coord_mode,
      cubic_coeff_a,
      exclude_outside,
      extrapolation_value,
      nearest_mode,
  ):
      # Use ONNX Runtime
      model = make_onnx_model(
          x.shape,
          roi,
          scales,
          sizes,
          mode,
          coord_mode,
          cubic_coeff_a,
          exclude_outside,
          extrapolation_value,
          nearest_mode,
      )
      session = ort.InferenceSession(
          model.SerializeToString(), providers=["CPUExecutionProvider"]
      )
      outputs = session.run(
          None,
          {
              "X": x,
              "roi": roi,
              "scales": scales,
              "sizes": sizes,
          },
      )
      return outputs[0]
  
file_path: nnabla/python/test/function/test_onnx_resize.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 3 for calling a global function with example usage: ref_resize_ort(x, roi, scales, sizes, mode, coord_mode, cubic_coeff_a, exclude_outside, extrapolation_value, nearest_mode) and returns: outputs