code: def _test_batch_valid(images, targets):
      _test_batch(images=images, targets=targets)
  
      assert set(targets.keys()) == {
          "cls",
          "bbox",
          "img_size",
          "img_scale",
      }
  
      assert targets["img_scale"] is None
      assert targets["img_size"] is None
  
file_path: icevision/tests/models/efficient_det/test_dataloaders.py
imports: import pytest
  from icevision.all import *
  from icevision.models.ross import efficientdet
label_desc: Use image node_id 7 for calling a global function with example usage: _test_batch_valid(images, targets) without return types