code: def test_translation(self, device, dtype):
      R1 = torch.tensor(
          [[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]],
          device=device,
          dtype=dtype,
      )
  
      t1 = torch.tensor([[[10.0], [0.0], [0.0]]]).type_as(R1)
  
      R2 = kornia.eye_like(3, R1)
      t2 = kornia.vec_like(3, t1)
  
      R_expected = R1.clone()
      t_expected = -t1
  
      R, t = epi.relative_camera_motion(R1, t1, R2, t2)
      assert_close(R_expected, R)
      assert_close(t_expected, t)
  
imports: import pytest
  import test_common
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.geometry.epipolar
  from kornia.testing import assert_close
label_desc: Use image node_id 3 for calling the TestRelativeCameraMotion obj's underlying member method code with example usage: obj.test_translation(device, dtype) without return types