AllScoreConsumer
- class AllScoreConsumer(num_entities, num_relations)[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