code: def test_shape(self, batch_size, device, dtype):
      B: int = batch_size
      P = torch.rand(B, 3, 4, device=device, dtype=dtype)
      K, R, t = epi.KRt_from_projection(P)
  
      assert K.shape == (B, 3, 3)
      assert R.shape == (B, 3, 3)
      assert t.shape == (B, 3, 1)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia.geometry.epipolar
  from kornia.testing import assert_close
label_desc: Use image node_id 2 for calling the TestKRtFromProjection obj's underlying member method code with example usage: obj.test_shape(batch_size, device, dtype) without return types