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

Method FlattenItems

lingvo/core/nested_map.py:451–458  ·  view source on GitHub ↗

Flatten the `.NestedMap` and returns pairs in a list. Returns: A list of pairs, where keys for nested entries will be represented in the form of `foo.bar[10].baz`.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_ToRecurStateMethod · 0.95
PackMethod · 0.95
_ToStringsMethod · 0.95
processMethod · 0.95
WriteNpArraysFunction · 0.80
ReadNpArraysFunction · 0.80
_MaybeStackExtraThetaFunction · 0.80
FPropMethod · 0.80
FuncMethod · 0.80
_EvalAndFlattenMethod · 0.80

Calls 1

_RecursiveMapMethod · 0.95

Tested by 15

FuncMethod · 0.64
_EvalAndFlattenMethod · 0.64
testTransformAdvancedMethod · 0.64
testFlattenBasicMethod · 0.64
testFlattenAdvancedMethod · 0.64
testPackAdvancedMethod · 0.64
testFilterMethod · 0.64
testFilterKeyValMethod · 0.64
_testHelperMethod · 0.64
testRematMethod · 0.64