ProcessedTuple

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

Bases: NamedTuple

The result of processing a pair of triples factories.

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

Parameters:
  • mapped_triples (LongTensor) –

  • alignment (LongTensor) –

  • translation_kwargs (Mapping[str, Any]) –