Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
152
def
flatten(l):
153
return
[item
for
sublist in l
for
item in sublist]
154
155
156
def
main():
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected