MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / bimap

Function bimap

NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:40–41  ·  view source on GitHub ↗
(first, second)

Source from the content-addressed store, hash-verified

38
39
40def bimap(first, second):
41 return {f: s for f, s in zip(first, second)}, {s: f for f, s in zip(first, second)}
42
43
44def filter_nones(d):

Callers 1

NL2SQLLanguageClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected