class_docstr: Class to represent a named pose between two frames.
  
  Internally represented by either Se2 or Se3.
  
  Example:
      >>> b_from_a = NamedPose(Se3.identity(), frame_src="frame_a", frame_dst="frame_b")
      >>> b_from_a
      NamedPose(dst_from_src=rotation: Parameter containing:
      tensor([1., 0., 0., 0.], requires_grad=True)
      translation: x: 0.0
      y: 0.0
      z: 0.0,
      frame_src: frame_a -> frame_dst: frame_b)
class_docstr_tok: ["Class","to","represent","a","named","pose","between","two","frames",".","Internally","represented","by","either","Se2","or","Se3",".","Example",":",">",">",">","b_from_a","=","NamedPose","(","Se3.identity","(",")",",","frame_src=","''","frame_a","''",",","frame_dst=","''","frame_b","''",")",">",">",">","b_from_a","NamedPose","(","dst_from_src=rotation",":","Parameter","containing",":","tensor","(","[","1.",",","0.",",","0.",",","0",".","]",",","requires_grad=True",")","translation",":","x",":","0.0","y",":","0.0","z",":","0.0",",","frame_src",":","frame_a","-",">","frame_dst",":","frame_b",")"]
docstr: Constructor for NamedPose.
  
  Args:
      dst_from_src: Pose from source frame to destination frame.
      src: Name of frame a.
      dst: Name of frame b.
docstr_tok: ["Constructor","for","NamedPose",".","Args",":","dst_from_src",":","Pose","from","source","frame","to","destination","frame",".","src",":","Name","of","frame","a.","dst",":","Name","of","frame","b","."]
code: def __init__(
      self,
      dst_from_src: Se2 | Se3,
      frame_src: str | None = None,
      frame_dst: str | None = None,
  ) -> None:
      """Constructor for NamedPose.
  
      Args:
          dst_from_src: Pose from source frame to destination frame.
          src: Name of frame a.
          dst: Name of frame b.
      """
      self._dst_from_src = dst_from_src
      self._frame_src = frame_src or uuid.uuid4().hex
      self._frame_dst = frame_dst or uuid.uuid4().hex
  
file_path: kornia/kornia/geometry/pose.py
imports: from __future__ import annotations
  import uuid
  from kornia.core import Tensor, eye
  from kornia.geometry.liegroup import Se2, Se3, So2, So3
  from kornia.geometry.quaternion import Quaternion
label_desc: Use image node_id 1 to create a new NamedPose object  with example: obj = NamedPose(dst_from_src, frame_src, frame_dst)