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 subject corruption scores.
  
  Evaluate the inputs against subject corruptions and scores of the corruptions.
  
  Parameters
  ----------
  triples: array-like, shape (n, k)
      Batch of input embeddings.
  ent_matrix: array-like, shape (m, k)
      Slice of embedding matrix (corruptions).
  
  Returns
  -------
  scores: tf.Tensor, shape (n,1)
      Scores of subject corruptions (corruptions defined by `ent_embs` matrix).
code: def _get_subject_corruption_scores(self, triples, ent_matrix):
      """Compute subject corruption scores.
  
      Evaluate the inputs against subject corruptions and scores of the corruptions.
  
      Parameters
      ----------
      triples: array-like, shape (n, k)
          Batch of input embeddings.
      ent_matrix: array-like, shape (m, k)
          Slice of embedding matrix (corruptions).
  
      Returns
      -------
      scores: tf.Tensor, shape (n,1)
          Scores of subject corruptions (corruptions defined by `ent_embs` matrix).
      """
      # HolE scoring is 2/k * complex_score
      return (2 / (self.internal_k / 2)) * (
          super()._get_subject_corruption_scores(triples, ent_matrix)
      )
  
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 4 for calling the HolE obj's underlying member method code with example usage: obj._get_subject_corruption_scores(triples, ent_matrix) and returns: unknown