code: def _create_intrinsics(
      self, batch_size, fx, fy, cx, cy, device, dtype
  ):
      intrinsics = torch.eye(4, device=device, dtype=dtype)
      intrinsics[..., 0, 0] = fx
      intrinsics[..., 1, 1] = fy
      intrinsics[..., 0, 2] = cx
      intrinsics[..., 1, 2] = cy
      return intrinsics.expand(batch_size, -1, -1)
  
imports: import math
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  from kornia.testing import assert_close, tensor_to_gradcheck_var
label_desc: Use image node_id 1 for calling the TestPinholeCamera obj's underlying member method code with example usage: obj._create_intrinsics(batch_size, fx, fy, cx, cy, device, dtype) and returns: intrinsics