class_docstr: Ranks for different ranking types.
class_docstr_tok: ["Ranks","for","different","ranking","types","."]
docstr: Iterate over pairs of rank types and their associated tensors.
docstr_tok: ["Iterate","over","pairs","of","rank","types","and","their","associated","tensors","."]
code: def items(self) -> Iterable[Tuple[RankType, torch.FloatTensor]]:
      """Iterate over pairs of rank types and their associated tensors."""
      yield from self.to_type_dict().items()
  
file_path: pykeen/src/pykeen/evaluation/ranks.py
imports: from dataclasses import dataclass
  from typing import Iterable, Mapping, Tuple, Union
  import torch
  from ..typing import RANK_OPTIMISTIC, RANK_PESSIMISTIC, RANK_REALISTIC, RankType
label_desc: Use image node_id 1 for calling the Ranks obj's underlying member method code with example usage: obj.items() without return types