code: def __init__(
      self,
      kernel_size: tuple[int, int] | int,
      sigma_color: float | Tensor,
      sigma_space: tuple[float, float] | Tensor,
      border_type: str = "reflect",
      color_distance_type: str = "l1",
  ) -> None:
      super().__init__()
      self.kernel_size = kernel_size
      self.sigma_color = sigma_color
      self.sigma_space = sigma_space
      self.border_type = border_type
      self.color_distance_type = color_distance_type
  
file_path: kornia/kornia/filters/bilateral.py
imports: from __future__ import annotations
  from typing import Optional
  from kornia.core import Module, Tensor, pad
  from kornia.core.check import KORNIA_CHECK, KORNIA_CHECK_IS_TENSOR, KORNIA_CHECK_SHAPE
  from .kernels import _unpack_2d_ks, get_gaussian_kernel2d
  from .median import _compute_zero_padding
label_desc: Use image node_id 1 to create a new _BilateralBlur object from inherited base classes: Module with example: obj = _BilateralBlur(kernel_size, sigma_color, sigma_space, border_type, color_distance_type)