class_docstr: An abstract base class for implementing custom KGE models.
  
  Args:
      num_nodes (int): The number of nodes/entities in the graph.
      num_relations (int): The number of relations in the graph.
      hidden_channels (int): The hidden embedding size.
      sparse (bool, optional): If set to :obj:`True`, gradients w.r.t. to the
          embedding matrices will be sparse. (default: :obj:`False`)
code: def __repr__(self) -> str:
      return (
          f"{self.__class__.__name__}({self.num_nodes}, "
          f"num_relations={self.num_relations}, "
          f"hidden_channels={self.hidden_channels})"
      )
  
file_path: pytorch_geometric/torch_geometric/nn/kge/base.py
imports: from typing import Tuple
  import torch
  from torch import Tensor
  from torch.nn import Embedding
  from tqdm import tqdm
  from torch_geometric.nn.kge.loader import KGTripletLoader
label_desc: Use image node_id 8 for calling the KGEModel obj's underlying member method code with example usage: obj.__repr__() and returns: self, str, self, str, self, str, self, str