code: def test_torchvision_batched_nms(
      *,
      dts_boxes_scores_iou_idxs,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      dts, boxes, scores, iou, idxs = dts_boxes_scores_iou_idxs
      helpers.test_frontend_function(
          input_dtypes=dts,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          boxes=boxes,
          scores=scores,
          idxs=idxs,
          iou_threshold=iou,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_torchvision/test_ops.py
imports: import numpy
  from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 3 for calling a global function with example usage: test_torchvision_batched_nms() without return types