code: def test_dynamo(self, device, dtype, torch_optimizer):
      inpt = torch.rand((2, 3, 7, 7), dtype=dtype, device=device)
      op = kornia.geometry.subpix.spatial_soft_argmax2d
      op_optimized = torch_optimizer(op)
  
      assert_close(op(inpt), op_optimized(inpt))
  
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 10 for calling the TestSpatialSoftArgmax2d obj's underlying member method code with example usage: obj.test_dynamo(device, dtype, torch_optimizer) without return types