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: Inverse of the NamedPose.
  
  Returns:
      Inverse of the NamedPose.
  
  Example:
      >>> b_from_a = NamedPose(Se3.identity(), frame_src="frame_a", frame_dst="frame_b")
      >>> b_from_a.inverse()
      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_b -> frame_dst: frame_a)
docstr_tok: ["Inverse","of","the","NamedPose",".","Returns",":","Inverse","of","the","NamedPose",".","Example",":",">",">",">","b_from_a","=","NamedPose","(","Se3.identity","(",")",",","frame_src=","''","frame_a","''",",","frame_dst=","''","frame_b","''",")",">",">",">","b_from_a.inverse","(",")","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_b","-",">","frame_dst",":","frame_a",")"]
code: def inverse(self) -> NamedPose:
      """Inverse of the NamedPose.
  
      Returns:
          Inverse of the NamedPose.
  
      Example:
          >>> b_from_a = NamedPose(Se3.identity(), frame_src="frame_a", frame_dst="frame_b")
          >>> b_from_a.inverse()
          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_b -> frame_dst: frame_a)
      """
      return NamedPose(
          self._dst_from_src.inverse(), self._frame_dst, self._frame_src
      )
  
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 11 for calling the NamedPose obj's underlying member method code with example usage: obj.inverse() and returns: NamedPose