class_docstr: An interface for inverse-relation ID mapping.
class_docstr_tok: ["An","interface","for","inverse-relation","ID","mapping","."]
docstr: Return a mask whether the relation IDs correspond to inverse relations.
docstr_tok: ["Return","a","mask","whether","the","relation","IDs","correspond","to","inverse","relations","."]
code: def is_inverse(self, ids: torch.LongTensor) -> torch.BoolTensor:
      """Return a mask whether the relation IDs correspond to inverse relations."""
  
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 5 for calling the RelationInverter obj's underlying member method code with example usage: obj.is_inverse(ids) without return types