code: def test_properties(self, device, dtype, batch_size):
      params, image_size = self._make_rand_data(
          batch_size, device, dtype
      )
      cam = CameraModel(image_size, CameraModelType.PINHOLE, params)
      self.assert_close(cam.fx, params[:, 0])
      self.assert_close(cam.fy, params[:, 1])
      self.assert_close(cam.cx, params[:, 2])
      self.assert_close(cam.cy, params[:, 3])
      self.assert_close(cam.width, image_size.width)
      self.assert_close(cam.height, image_size.height)
  
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 10 for calling the TestPinholeCamera obj's underlying member method code with example usage: obj.test_properties(device, dtype, batch_size) without return types