code: def test_smoke(self, device, dtype):
      kernel = torch.rand(3, 3, device=device, dtype=dtype)
      assert kernel is not None
  
file_path: kornia/test/morphology/test_gradient.py
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  from kornia.morphology import gradient
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestGradient obj's underlying member method code with example usage: obj.test_smoke(device, dtype) without return types