MCPcopy Create free account
hub / github.com/DataArcTech/ToG / if_all_zero

Function if_all_zero

ToG/utils.py:88–89  ·  view source on GitHub ↗
(topn_scores)

Source from the content-addressed store, hash-verified

86
87
88def if_all_zero(topn_scores):
89 return all(score == 0 for score in topn_scores)
90
91
92def clean_relations_bm25_sent(topn_relations, topn_scores, entity_id, head_relations):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected