code: def test_module(
      self,
      shape,
      kernel_size,
      sigma_color,
      sigma_space,
      color_distance_type,
      device,
      dtype,
  ):
      img = torch.rand(shape, device=device, dtype=dtype)
      params = (
          kernel_size,
          sigma_color,
          sigma_space,
          "reflect",
          color_distance_type,
      )
  
      op = bilateral_blur
      op_module = BilateralBlur(*params)
      self.assert_close(op_module(img), op(img, *params))
  
imports: import pytest
  import torch
  from kornia.filters import BilateralBlur, JointBilateralBlur, bilateral_blur, joint_bilateral_blur
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 6 for calling the TestBilateralBlur obj's underlying member method code with example usage: obj.test_module(shape, kernel_size, sigma_color, sigma_space, color_distance_type, device, dtype) without return types