code: def test_noncontiguous(self, device, dtype):
      batch_size = 3
      inp = torch.rand(3, 5, 5, device=device, dtype=dtype).expand(
          batch_size, -1, -1, -1
      )
  
      op = Sobel()
      actual = op(inp)
  
      assert inp.is_contiguous() is False
      assert actual.is_contiguous()
      assert actual.shape == (3, 3, 5, 5)
  
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 5 for calling the TestSobel obj's underlying member method code with example usage: obj.test_noncontiguous(device, dtype) without return types