code: def test_post_data_check():
      img = np.empty([100, 100, 3], dtype=np.uint8)
      bboxes = [
          [0, 0, 90, 90, 0],
      ]
      keypoints = [
          [90, 90],
          [50, 50],
      ]
  
      transform = A.Compose(
          [
              A.Resize(50, 50),
              A.Normalize(),
              ToTensorV2(),
          ],
          keypoint_params=A.KeypointParams("xy"),
          bbox_params=A.BboxParams("pascal_voc"),
      )
  
      res = transform(image=img, keypoints=keypoints, bboxes=bboxes)
      assert len(res["keypoints"]) != 0 and len(res["bboxes"]) != 0
      assert res["keypoints"] == [(45, 45), (25, 25)]
      assert res["bboxes"] == [(0, 0, 45, 45, 0)]
  
file_path: albumentations/tests/test_pytorch.py
imports: import pytest
  import numpy
  import torch
  from PIL import Image
  from torchvision.transforms import ColorJitter
  import albumentations
  from albumentations.pytorch.transforms import ToTensor, ToTensorV2
label_desc: Use image node_id 9 for calling a global function with example usage: test_post_data_check() without return types