ProcessedTuple

class ProcessedTuple(mapped_triples: torch.LongTensor, alignment: torch.LongTensor, translation_kwargs: Mapping[str, Any])[source]

Bases: tuple

The result of processing a pair of triples factories.

Create new instance of ProcessedTuple(mapped_triples, alignment, translation_kwargs)