code: def test_translation(self, device, dtype):
      # this is for normalize_points=False
      image_src = torch.tensor(
          [
              [
                  [
                      [1.0, 2.0, 3.0],
                      [1.0, 2.0, 3.0],
                      [1.0, 2.0, 3.0],
                      [1.0, 2.0, 3.0],
                  ]
              ]
          ],
          device=device,
          dtype=dtype,
      )
  
      depth_dst = torch.tensor(
          [
              [
                  [
                      [1.0, 1.0, 1.0],
                      [1.0, 1.0, 1.0],
                      [1.0, 1.0, 1.0],
                      [1.0, 1.0, 1.0],
                  ]
              ]
          ],
          device=device,
          dtype=dtype,
      )
  
      src_trans_dst = torch.tensor(
          [
              [
                  [1.0, 0.0, 0.0, 1.0],
                  [0.0, 1.0, 0.0, 0.0],
                  [0.0, 0.0, 1.0, 0.0],
                  [0.0, 0.0, 0.0, 1.0],
              ]
          ],
          device=device,
          dtype=dtype,
      )
  
      h, w = image_src.shape[-2:]
      camera_matrix = torch.tensor(
          [[[1.0, 0.0, w / 2], [0.0, 1.0, h / 2], [0.0, 0.0, 1.0]]],
          device=device,
          dtype=dtype,
      )
  
      image_dst_expected = torch.tensor(
          [
              [
                  [
                      [2.0, 3.0, 0.0],
                      [2.0, 3.0, 0.0],
                      [2.0, 3.0, 0.0],
                      [2.0, 3.0, 0.0],
                  ]
              ]
          ],
          device=device,
          dtype=dtype,
      )
  
      image_dst = kornia.geometry.depth.warp_frame_depth(
          image_src, depth_dst, src_trans_dst, camera_matrix
      )  # default is normalize_points=False
      assert_close(image_dst, image_dst_expected, rtol=1e-3, atol=1e-3)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
label_desc: Use image node_id 3 for calling the TestWarpFrameDepth obj's underlying member method code with example usage: obj.test_translation(device, dtype) without return types