class_docstr: Collection of smoke test data.
class_docstr_tok: ["Collection","of","smoke","test","data","."]
code: def _create_rectified_camera(
      params, batch_size, device, dtype, tx_fx=None
  ):
      intrinsics = torch.zeros((3, 4), device=device, dtype=dtype)
      intrinsics[..., 0, 0] = params.fx
      intrinsics[..., 1, 1] = params.fy
      intrinsics[..., 0, 2] = params.cx
      intrinsics[..., 1, 2] = params.cy
  
      if tx_fx:
          intrinsics[..., 0, 3] = tx_fx
  
      return intrinsics.expand(batch_size, -1, -1)
  
imports: import pytest
  import torch
  from kornia.geometry.camera import StereoCamera
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the _SmokeTestData obj's underlying member method code with example usage: obj._create_rectified_camera(params, batch_size, device, dtype, tx_fx) and returns: intrinsics