code: def _make_rand_data(self, batch_size, device, dtype):
      params = torch.rand(batch_size, 4).to(dtype).to(device)
      image_sizes = (
          torch.randint(1, 100, (batch_size, 2)).to(dtype).to(device)
      )
      return params, ImageSize(image_sizes[:, 0], image_sizes[:, 1])
  
file_path: kornia/test/sensors/camera/test_camera_model.py
imports: import pytest
  import torch
  from kornia.geometry.vector import Vector3
  from kornia.image import ImageSize
  from kornia.sensors.camera import CameraModel, CameraModelType
  from kornia.testing import BaseTester
label_desc: Use image node_id 1 for calling the TestPinholeCamera obj's underlying member method code with example usage: obj._make_rand_data(batch_size, device, dtype) and returns: params,  ImageSize