class_docstr: Holographic Embeddings (HolE) scoring layer.
  
  The HolE model :cite:`nickel2016holographic` as re-defined by Hayashi et al. :cite:`HayashiS17`:
  
  .. math::
      f_{HolE}= \frac{2}{k} \, f_{ComplEx}
  
  where :math:`k` is the size of the embeddings.
docstr: Compute scores using HolE scoring function.
  
  Parameters
  ----------
  triples: array-like, shape (n, 3)
      Batch of input triples.
  
  Returns
  -------
  scores: tf.Tensor(n,1)
      Tensor of scores of inputs.
code: def _compute_scores(self, triples):
      """Compute scores using HolE scoring function.
  
      Parameters
      ----------
      triples: array-like, shape (n, 3)
          Batch of input triples.
  
      Returns
      -------
      scores: tf.Tensor(n,1)
          Tensor of scores of inputs.
      """
      # HolE scoring is 2/k * complex_score
      return (2 / (self.internal_k / 2)) * (
          super()._compute_scores(triples)
      )
  
file_path: AmpliGraph/ampligraph/latent_features/layers/scoring/HolE.py
imports: from .AbstractScoringLayer import register_layer
  from .ComplEx import ComplEx
label_desc: Use image node_id 3 for calling the HolE obj's underlying member method code with example usage: obj._compute_scores(triples) and returns: unknown