MCPcopy 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
134def _Flatten(struct):
135 """Flattens a structure."""
136 return nest.flatten(struct)
137
138
139def _Pack(elements, struct_template):

Callers 9

FwdMethod · 0.70
ForwardLoopBodyMethod · 0.70
GradMethod · 0.70
ForwardMethod · 0.70
BakMethod · 0.70
BackwardLoopBodyMethod · 0.70
BackwardMethod · 0.70
ComputeMethod · 0.70
CellGradFunction · 0.70

Calls 1

flattenMethod · 0.45

Tested by

no test coverage detected