code: def test_module(self, device, dtype):
      img = torch.rand(2, 3, 1, 4, 5, device=device, dtype=dtype)
      op = spatial_gradient3d
      op_module = SpatialGradient3d()
      expected = op(img)
      actual = op_module(img)
      self.assert_close(actual, expected)
  
imports: import pytest
  import torch
  from kornia.filters import Sobel, SpatialGradient, SpatialGradient3d, sobel, spatial_gradient, spatial_gradient3d
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 6 for calling the TestSpatialGradient3d obj's underlying member method code with example usage: obj.test_module(device, dtype) without return types