code: def test_kernel_3x1(self, device, dtype):
      inp = torch.arange(16, device=device, dtype=dtype).view(
          1, 1, 4, 4
      )
  
      ky, kx = 3, 1
      actual = box_blur(inp, (ky, kx))
  
      self.assert_close(
          actual[0, 0, 0, 0],
          torch.tensor((4 + 0 + 4) / 3, device=device, dtype=dtype),
      )
      self.assert_close(
          actual[0, 0, 1, 0],
          torch.tensor((0 + 4 + 8) / 3, device=device, dtype=dtype),
      )
  
file_path: kornia/test/filters/test_blur.py
imports: import pytest
  import torch
  from kornia.filters import BoxBlur, box_blur
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 7 for calling the TestBoxBlur obj's underlying member method code with example usage: obj.test_kernel_3x1(device, dtype) without return types