class_docstr: A mock model returning fixed scores.
  
  .. math ::
      score(h, r, t) = h \cdot |\mathcal{E}| \cdot |\mathcal{R}| + r \cdot |\mathcal{E}| + t
  
  ---
  name: Fixed Model
  citation:
      author: Berrendorf
      year: 2021
      link: https://github.com/pykeen/pykeen/pull/691
      github: pykeen/pykeen
code: def score_r(
      self,
      ht_batch: torch.LongTensor,
      relations: Optional[torch.LongTensor] = None,
      **kwargs,
  ) -> torch.FloatTensor:  # noqa: D102
      if relations is None:
          relations = torch.arange(
              self.num_relations, device=ht_batch.device
          ).unsqueeze(dim=0)
      return self._generate_fake_scores(
          h=ht_batch[:, 0:1], r=relations, t=ht_batch[:, 1:2]
      )
  
file_path: pykeen/src/pykeen/models/mocks.py
imports: from typing import Any, ClassVar, Mapping, Optional
  import torch
  from .base import Model
  from ..triples.triples_factory import KGInfo
  from ..typing import InductiveMode
label_desc: Use image node_id 8 for calling the FixedModel obj's underlying member method code with example usage: obj.score_r(ht_batch, relations) and returns: self