code: def test_module(self, device, dtype):
      kernel_size = (3, 5)
      img = torch.rand(2, 3, 4, 5, device=device, dtype=dtype)
      op = median_blur
      op_module = MedianBlur((3, 5))
      actual = op_module(img)
      expected = op(img, kernel_size)
      self.assert_close(actual, expected)
  
file_path: kornia/test/filters/test_median.py
imports: import pytest
  import torch
  from kornia.filters import MedianBlur, median_blur
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 8 for calling the TestMedianBlur obj's underlying member method code with example usage: obj.test_module(device, dtype) without return types