code: def test_smoke_none(self, hd, shape, reduction, device, dtype):
      num_classes = 3
      logits = torch.rand(
          2, num_classes, *shape, dtype=dtype, device=device
      )
      labels = (
          torch.rand(2, 1, *shape, dtype=dtype, device=device)
          * (num_classes - 1)
      ).long()
      loss = hd(reduction=reduction)
  
      loss(logits, labels)
  
file_path: kornia/test/losses/test_hd.py
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestHausdorffLoss obj's underlying member method code with example usage: obj.test_smoke_none(hd, shape, reduction, device, dtype) without return types