class_docstr: An interface for inverse-relation ID mapping.
class_docstr_tok: ["An","interface","for","inverse-relation","ID","mapping","."]
docstr: Get the inverse ID for a given relation.
docstr_tok: ["Get","the","inverse","ID","for","a","given","relation","."]
code: def get_inverse_id(self, relation_id: RelationID) -> RelationID:
      """Get the inverse ID for a given relation."""
  
file_path: pykeen/src/pykeen/inverse.py
imports: from abc import ABC, abstractmethod
  from typing import TypeVar
  import torch
  from class_resolver import Resolver
label_desc: Use image node_id 1 for calling the RelationInverter obj's underlying member method code with example usage: obj.get_inverse_id(relation_id) without return types