code: def _test_mask_rcnn_batch(batch):
      _test_common_rcnn_batch(batch=batch)
      (images, targets), records = batch
  
      for target in targets:
          assert set(target.keys()) == {"labels", "boxes", "masks"}
          assert target["masks"].shape == (2, 4, 4)
          assert target["masks"].dtype == torch.uint8
  
imports: import pytest
  from icevision.all import *
  from icevision.models.torchvision import faster_rcnn, mask_rcnn, keypoint_rcnn
label_desc: Use image node_id 13 for calling a global function with example usage: _test_mask_rcnn_batch(batch) without return types