Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _Flatten
Function
_Flatten
tensorflow/contrib/recurrent/python/ops/recurrent.py:134–136 ·
view source on GitHub ↗
Flattens a structure.
(struct)
Source
from the content-addressed store, hash-verified
132
133
134
def
_Flatten(struct):
135
""
"Flattens a structure."
""
136
return
nest.flatten(struct)
137
138
139
def
_Pack(elements, struct_template):
Callers
9
Fwd
Method · 0.70
ForwardLoopBody
Method · 0.70
Grad
Method · 0.70
Forward
Method · 0.70
Bak
Method · 0.70
BackwardLoopBody
Method · 0.70
Backward
Method · 0.70
Compute
Method · 0.70
CellGrad
Function · 0.70
Calls
1
flatten
Method · 0.45
Tested by
no test coverage detected