MCPcopy
hub / github.com/FedML-AI/FedML / get

Method get

python/fedml/fa/utils/trie.py:221–225  ·  view source on GitHub ↗
(self, word)

Source from the content-addressed store, hash-verified

219 _add(self.root, word, count)
220
221 def get(self, word):
222 node = _find(self.root, word)
223 if '' in node:
224 return node['']
225 return None
226
227 def remove(self, word, count=1):
228 return _remove(self.root, word, count)

Callers 15

best_hammingMethod · 0.95
best_levenshteinMethod · 0.95
dl_ixi_tinyFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
write_predictionsFunction · 0.45
get_best_predictionsFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

_findFunction · 0.85

Tested by 4

local_trainingMethod · 0.36