code: def nms3d(
      input: Tensor,
      kernel_size: tuple[int, int, int],
      mask_only: bool = False,
  ) -> Tensor:
      r"""Apply non maxima suppression to filter.
  
      See
      :class: `~kornia.feature.NonMaximaSuppression3d` for details.
      """
      return NonMaximaSuppression3d(kernel_size)(input, mask_only)
  
file_path: kornia/kornia/geometry/subpix/nms.py
imports: from __future__ import annotations
  import torch
  import torch.nn.functional
  from kornia.core import Module, Tensor, eye, pad, zeros
label_desc: Use image node_id 4 for calling a global function with example usage: nms3d(input, kernel_size, mask_only) and returns: NonMaximaSuppression3d