Combination

class Combination[source]

Bases: torch.nn.modules.module.Module, abc.ABC

Base class for combinations.

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

Methods Summary

forward(x, literal)

Combine the representation and literal then score.

Methods Documentation

forward(x, literal)[source]

Combine the representation and literal then score.

Return type

FloatTensor