code: def point_line_distance(
      point: Tensor, line: Tensor, eps: float = 1e-9
  ) -> Tensor:
      r"""Return the distance from points to lines.
  
      Args:
         point: (possibly homogeneous) points :math:`(*, N, 2 or 3)`.
         line: lines coefficients :math:`(a, b, c)` with shape :math:`(*, N, 3)`, where :math:`ax + by + c = 0`.
         eps: Small constant for safe sqrt.
  
      Returns:
          the computed distance with shape :math:`(*, N)`.
      """
      KORNIA_CHECK_IS_TENSOR(point)
      KORNIA_CHECK_IS_TENSOR(line)
  
      if point.shape[-1] not in (2, 3):
          raise ValueError(
              f"pts must be a (*, 2 or 3) tensor. Got {point.shape}"
          )
  
      if not line.shape[-1] == 3:
          raise ValueError(
              f"lines must be a (*, 3) tensor. Got {line.shape}"
          )
  
      numerator = (
          line[..., 0] * point[..., 0]
          + line[..., 1] * point[..., 1]
          + line[..., 2]
      ).abs()
      denominator = line[..., :2].norm(dim=-1)
  
      return numerator / (denominator + eps)
  
file_path: kornia/kornia/geometry/linalg.py
imports: from __future__ import annotations
  import torch
  from kornia.core import Tensor, zeros_like
  from kornia.core.check import KORNIA_CHECK, KORNIA_CHECK_IS_TENSOR, KORNIA_CHECK_SHAPE
  from kornia.geometry.conversions import convert_points_from_homogeneous, convert_points_to_homogeneous
label_desc: Use image node_id 5 for calling a global function with example usage: point_line_distance(point, line, eps) and returns: unknown