code: def test_top_left(self, device, dtype):
      sample = torch.zeros(1, 1, 2, 3, device=device, dtype=dtype)
      sample[..., 0, 0] = 1e16
  
      coord = kornia.geometry.subpix.spatial_soft_argmax2d(
          sample, normalized_coordinates=False
      )
      assert_close(coord[..., 0].item(), 0.0, atol=1e-4, rtol=1e-4)
      assert_close(coord[..., 1].item(), 0.0, atol=1e-4, rtol=1e-4)
  
imports: import torch
  from torch.autograd import gradcheck
  from torch.nn.functional import mse_loss
  import kornia
  import kornia.testing
  from kornia.geometry.subpix.spatial_soft_argmax import _get_center_kernel2d, _get_center_kernel3d
  from kornia.testing import assert_close
label_desc: Use image node_id 4 for calling the TestSpatialSoftArgmax2d obj's underlying member method code with example usage: obj.test_top_left(device, dtype) without return types