code: def compute_kernel_size(sigma_val: float) -> int:
      """Compute kernel size from sigma value.
  
      Args:
          sigma_val (float): Sigma value.
  
      Returns:
          int: Kernel size.
      """
      return 2 * int(4.0 * sigma_val + 0.5) + 1
  
file_path: anomalib/src/anomalib/models/components/filters/blur.py
imports: from __future__ import annotations
  from kornia.filters import get_gaussian_kernel2d
  from kornia.filters.filter import _compute_padding
  from kornia.filters.kernels import normalize_kernel2d
  from torch import Tensor, nn
  from torch.nn import functional
label_desc: Use image node_id 1 for calling a global function with example usage: compute_kernel_size(sigma_val) and returns: unknown