MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / flatten

Function flatten

nlp_class2/ner_tf.py:73–74  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

71
72
73def flatten(l):
74 return [item for sublist in l for item in sublist]
75
76
77

Callers 1

ner_tf.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected