Dot

class KGE.score.Dot[source]

Bases: KGE.score.Score

An implementation of dot product.

Score between \(\textbf{x}\) and \(\textbf{y}\) is defined as \(\textbf{x} \cdot \textbf{y}\)

Methods Summary

__call__(x, y)

Calculate score.

Methods Documentation

__call__(x, y)[source]

Calculate score.

Parameters
  • x (tf.Tensor) –

  • y (tf.Tensor) –

__init__()[source]

Initialize score.

__new__(*args, **kwargs)