code: def test_onnx_non_max_suppression_forward(
      seed,
      batch_size,
      num_boxes,
      num_classes,
      center_point_box,
      max_output_boxes,
      iou_threshold,
      score_threshold,
      ctx,
      func_name,
  ):
      pytest.skip("This test needs onnx, test locally.")
  
      import onnx
      import onnxruntime as ort
  
      rng = np.random.RandomState(seed)
      boxes = rng.rand(batch_size, num_boxes, 4).astype(np.float32)
      scores = rng.rand(batch_size, num_classes, num_boxes).astype(
          np.float32
      )
  
      vboxes = nn.Variable.from_numpy_array(boxes)
      vscores = nn.Variable.from_numpy_array(scores)
      with nn.context_scope(ctx), nn.auto_forward():
          voutput = F.onnx_non_max_suppression(
              vboxes,
              vscores,
              center_point_box,
              max_output_boxes,
              iou_threshold,
              score_threshold,
          )
  
      ref = ref_non_max_suppression(
          boxes,
          scores,
          center_point_box,
          max_output_boxes,
          iou_threshold,
          score_threshold,
      )
  
      assert_allclose(voutput.d, ref)
      assert func_name == voutput.parent.name
  
file_path: nnabla/python/test/function/test_onnx_non_max_suppression.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: test_onnx_non_max_suppression_forward(seed, batch_size, num_boxes, num_classes, center_point_box, max_output_boxes, iou_threshold, score_threshold, ctx, func_name) without return types