class_docstr: Class that describes a parametrize line.
  
  A parametrized line is defined by an origin point :math:`o` and a unit
  direction vector :math:`d` such that the line corresponds to the set
  
  .. math::
  
      l(t) = o + t * d
docstr: Constructs a parametrized line going from a point :math:`p0` to :math:`p1`.
  
  Args:
      p0: tensor with first point :math:`(B, D)` where `D` is the point dimension.
      p1: tensor with second point :math:`(B, D)` where `D` is the point dimension.
  
  Example:
      >>> p0 = torch.tensor([0.0, 0.0])
      >>> p1 = torch.tensor([1.0, 1.0])
      >>> l = ParametrizedLine.through(p0, p1)
docstr_tok: ["Constructs","a","parametrized","line","going","from","a","point",":","math",":","`","p0","`","to",":","math",":","`","p1","`",".","Args",":","p0",":","tensor","with","first","point",":","math",":","`","(","B",",","D",")","`","where","`","D","`","is","the","point","dimension",".","p1",":","tensor","with","second","point",":","math",":","`","(","B",",","D",")","`","where","`","D","`","is","the","point","dimension",".","Example",":",">",">",">","p0","=","torch.tensor","(","[","0.0",",","0.0","]",")",">",">",">","p1","=","torch.tensor","(","[","1.0",",","1.0","]",")",">",">",">","l","=","ParametrizedLine.through","(","p0",",","p1",")"]
code: def through(cls, p0: Tensor, p1: Tensor) -> "ParametrizedLine":
      """Constructs a parametrized line going from a point :math:`p0` to :math:`p1`.
  
      Args:
          p0: tensor with first point :math:`(B, D)` where `D` is the point dimension.
          p1: tensor with second point :math:`(B, D)` where `D` is the point dimension.
  
      Example:
          >>> p0 = torch.tensor([0.0, 0.0])
          >>> p1 = torch.tensor([1.0, 1.0])
          >>> l = ParametrizedLine.through(p0, p1)
      """
      return ParametrizedLine(p0, normalize((p1 - p0), p=2, dim=-1))
  
imports: from typing import Iterator, Optional, Tuple, Union
  import torch
  from kornia.core import Module, Parameter, Tensor, normalize, where
  from kornia.core.check import KORNIA_CHECK, KORNIA_CHECK_IS_TENSOR, KORNIA_CHECK_SHAPE
  from kornia.geometry.linalg import batched_dot_product, squared_norm
  from kornia.geometry.plane import Hyperplane
  from kornia.utils.helpers import _torch_svd_cast
label_desc: Use image node_id 9 for calling the ParametrizedLine obj's underlying member method code with example usage: obj.through(cls, p0, p1) and returns: ParametrizedLine