code: def test_mmdet_mask_rcnn_build_valid_batch(mask_records):
      batch = models.mmdet.mask_rcnn.build_valid_batch(mask_records)
      _test_common_mmdet_mask_batch(batch)
  
file_path: icevision/tests/models/mmdet/test_dataloaders.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 10 for calling a global function with example usage: test_mmdet_mask_rcnn_build_valid_batch(mask_records) without return types