code: def test_smoke(self, device, dtype):
      params, image_size = self._make_rand_data(1, device, dtype)
      cam = CameraModel(image_size, CameraModelType.PINHOLE, params)
      assert isinstance(cam, CameraModel)
      self.assert_close(cam.params, params)
      self.assert_close(image_size.height, cam.height)
      self.assert_close(image_size.width, cam.width)
  
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 2 for calling the TestPinholeCamera obj's underlying member method code with example usage: obj.test_smoke(device, dtype) without return types