code: def test_cardinality(self, shape, device, dtype):
      kernel_size = (5, 7)
      sigma = (1.5, 2.1)
  
      inpt = torch.ones(shape, device=device, dtype=dtype)
      actual = unsharp_mask(inpt, kernel_size, sigma, "replicate")
      assert actual.shape == shape
  
file_path: kornia/test/filters/test_unsharp_mask.py
imports: import pytest
  import torch
  from kornia.filters import UnsharpMask, unsharp_mask
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 2 for calling the Testunsharp obj's underlying member method code with example usage: obj.test_cardinality(shape, device, dtype) without return types