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

Function if_all_zero

ToG/freebase_func.py:83–84  ·  view source on GitHub ↗
(topn_scores)

Source from the content-addressed store, hash-verified

81
82
83def if_all_zero(topn_scores):
84 return all(score == 0 for score in topn_scores)
85
86
87def clean_relations_bm25_sent(topn_relations, topn_scores, entity_id, head_relations):

Callers 2

entity_scoreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected