RealCombination

class RealCombination[source]

Bases: pykeen.nn.combinations.Combination, abc.ABC

A mid-level base class for combinations of real-valued vectors.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

Methods Summary

forward(x, literal)

Combine the entity representation and literal, then score.

score(x)

Score the combined entity representation and literals.

Methods Documentation

forward(x, literal)[source]

Combine the entity representation and literal, then score.

Return type

FloatTensor

abstract score(x)[source]

Score the combined entity representation and literals.

Return type

FloatTensor