MCPcopy
hub / github.com/PaddlePaddle/PaddleNLP / join

Function join

examples/text_to_sql/RAT-SQL/text2sql/grammars/nl2sql.py:33–38  ·  view source on GitHub ↗
(iterable, delimiter)

Source from the content-addressed store, hash-verified

31
32
33def join(iterable, delimiter):
34 it = iter(iterable)
35 yield next(it)
36 for x in it:
37 yield delimiter
38 yield x
39
40
41def intersperse(delimiter, seq):

Callers 1

eval.pyFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…