Interaction
===========

.. currentmodule:: pykeen.nn.modules

.. autoclass:: Interaction
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Interaction.dimensions
      ~Interaction.entity_shape
      ~Interaction.head_indices
      ~Interaction.head_shape
      ~Interaction.is_complex
      ~Interaction.relation_shape
      ~Interaction.tail_indices
      ~Interaction.tail_shape
      ~Interaction.value_range

   .. rubric:: Methods Summary

   .. autosummary::

      ~Interaction.forward
      ~Interaction.reset_parameters
      ~Interaction.score
      ~Interaction.score_h
      ~Interaction.score_hrt
      ~Interaction.score_r
      ~Interaction.score_t

   .. rubric:: Attributes Documentation

   .. autoattribute:: dimensions
   .. autoattribute:: entity_shape
   .. autoattribute:: head_indices
   .. autoattribute:: head_shape
   .. autoattribute:: is_complex
   .. autoattribute:: relation_shape
   .. autoattribute:: tail_indices
   .. autoattribute:: tail_shape
   .. autoattribute:: value_range

   .. rubric:: Methods Documentation

   .. automethod:: forward
   .. automethod:: reset_parameters
   .. automethod:: score
   .. automethod:: score_h
   .. automethod:: score_hrt
   .. automethod:: score_r
   .. automethod:: score_t
