code: def test_dynamo(
      self, batch_size, kernel_size, device, dtype, torch_optimizer
  ):
      inpt = torch.ones(
          batch_size, 3, 10, 10, device=device, dtype=dtype
      )
      op = MedianBlur(kernel_size)
      op_optimized = torch_optimizer(op)
  
      self.assert_close(op(inpt), op_optimized(inpt))
  
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 9 for calling the TestMedianBlur obj's underlying member method code with example usage: obj.test_dynamo(batch_size, kernel_size, device, dtype, torch_optimizer) without return types