MCPcopy Create free account
hub / github.com/tensorflow/lingvo / Flatten

Method Flatten

lingvo/core/nested_map.py:443–449  ·  view source on GitHub ↗

Returns a list containing the flattened values in the `.NestedMap`. Unlike py_utils.Flatten(), this will only descend into lists, dicts, and NestedMaps and not tuples, or namedtuples.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_OutfeedEnqueueMethod · 0.95
FuncMethod · 0.95
DeepCopyMethod · 0.95
_OutfeedEnqueueMethod · 0.95
ComputeGradientsFunction · 0.95
FPropMetaMethod · 0.45
_ArgsToStateMethod · 0.45
_CellFnMethod · 0.45
_CellFnMethod · 0.45

Calls 1

_RecursiveMapMethod · 0.95

Tested by 15

FuncMethod · 0.76
FPropMetaMethod · 0.36
testBatchNormLayerMethod · 0.36
testEmaScheduleMethod · 0.36
FuncMethod · 0.36
_testStepSeedHelperMethod · 0.36
_CopyVariablesMethod · 0.36
testFlattenBasicMethod · 0.36