code: def test_shape(self, batch_size, num_points, device, dtype):
      B, N = batch_size, num_points
      points1 = torch.rand(B, N, 2, device=device, dtype=dtype)
      points2 = torch.rand(B, N, 2, device=device, dtype=dtype)
      weights = torch.ones(B, N, device=device, dtype=dtype)
      H = find_homography_dlt(points1, points2, weights)
      assert H.shape == (B, 3, 3)
  
imports: import sys
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.geometry.homography import find_homography_dlt, find_homography_dlt_iterated, find_homography_lines_dlt, find_homography_lines_dlt_iterated, line_segment_transfer_error_one_way, oneway_transfer_error, sample_is_valid_for_homography, symmetric_transfer_error
  from kornia.testing import assert_close
  from kornia.utils._compat import torch_version_le
label_desc: Use image node_id 4 for calling the TestFindHomographyDLT obj's underlying member method code with example usage: obj.test_shape(batch_size, num_points, device, dtype) without return types