AllScoreConsumer
- class AllScoreConsumer(num_entities: int, num_relations: int)[source]
Bases:
ScoreConsumerCollect 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