code: def test_faster_rcnn_build_infer_batch(infer_dataset):
      batch, samples = faster_rcnn.build_infer_batch(infer_dataset)
      _test_infer_batch(batch)
  
imports: import pytest
  from icevision.all import *
  from icevision.models.torchvision import faster_rcnn, mask_rcnn, keypoint_rcnn
label_desc: Use image node_id 9 for calling a global function with example usage: test_faster_rcnn_build_infer_batch(infer_dataset) without return types