AllScoreConsumer
- class AllScoreConsumer(num_entities: int, num_relations: int)[source]
Bases:
ScoreConsumer
Collect scores for all triples.
Initialize the consumer.
- Parameters:
Attributes Summary
Methods Summary
__call__
(batch, target, scores)Consume scores for the given hr_batch.
Attributes Documentation
Methods Documentation