code: def test_smoke(self, device, dtype):
      boxes = torch.tensor(
          [
              [10.0, 10.0, 20.0, 20.0],
              [15.0, 5.0, 15.0, 25.0],
              [100.0, 100.0, 200.0, 200.0],
              [100.0, 100.0, 200.0, 200.0],
          ],
          device=device,
          dtype=dtype,
      )
      scores = torch.tensor(
          [0.9, 0.8, 0.7, 0.9], device=device, dtype=dtype
      )
      expected = torch.tensor(
          [0, 3, 1], device=device, dtype=torch.long
      )
      actual = nms(boxes, scores, iou_threshold=0.8)
      assert_close(actual, expected)
  
imports: import torch
  import kornia
  from kornia.geometry.bbox import infer_bbox_shape, infer_bbox_shape3d, nms, transform_bbox, validate_bbox, validate_bbox3d
  from kornia.testing import assert_close, gradcheck, tensor_to_gradcheck_var
label_desc: Use image node_id 1 for calling the TestNMS obj's underlying member method code with example usage: obj.test_smoke(device, dtype) without return types