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

Function flatten

nlp_class2/pos_rnn.py:152–153  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

150
151
152def flatten(l):
153 return [item for sublist in l for item in sublist]
154
155
156def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected