ProcessedTuple
- class ProcessedTuple(mapped_triples: Tensor, alignment: Tensor, 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)
Attributes Summary
the updated alignment, shape: (2, m)
the merged id-based triples, shape: (n, 3)
additional keyword-based parameters for adjusting label-to-id mappings
Attributes Documentation