MCPcopy
hub / github.com/PaddlePaddle/PaddleOCR / pick_and_pop

Function pick_and_pop

ppocr/modeling/heads/rec_latexocr_head.py:86–88  ·  view source on GitHub ↗
(keys, d)

Source from the content-addressed store, hash-verified

84
85
86def pick_and_pop(keys, d):
87 values = list(map(lambda key: d.pop(key), keys))
88 return dict(zip(keys, values))
89
90
91def group_dict_by_key(cond, d):

Callers

nothing calls this directly

Calls 1

popMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…