MCPcopy Index your code
hub / github.com/RingBDStack/GDAP / lmap

Function lmap

seq2seq/utils.py:68–70  ·  view source on GitHub ↗

list(map(f, x))

(f: Callable, x: Iterable)

Source from the content-addressed store, hash-verified

66
67
68def lmap(f: Callable, x: Iterable) -> List:
69 """list(map(f, x))"""
70 return list(map(f, x))
71
72
73def calculate_bleu(output_lns, refs_lns, **kwargs) -> dict:

Callers 6

decode_tree_strFunction · 0.90
extraction_metricsFunction · 0.90
decode_predFunction · 0.85
summarization_metricsFunction · 0.85
translation_metricsFunction · 0.85
assert_all_frozenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected