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

Class NestedMap

lingvo/core/nested_map.py:81–537  ·  view source on GitHub ↗

A simple helper to maintain a dict. It is a sub-class of dict with the following extensions/restrictions: - It supports attr access to its members (see examples below). - Member keys have to be valid identifiers. E.g.:: >>> foo = NestedMap() >>> foo['x'] = 10 >>> foo

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_FromNestedDictFunction · 0.85
GetSliceMethod · 0.85
SetMethod · 0.85
UnionMethod · 0.85
AssertIdShapeFunction · 0.85
ComputeGradientsFunction · 0.85
SplitRecursivelyFunction · 0.85
ConcatRecursivelyFunction · 0.85
CreateIdsAndLabelsFunction · 0.85
BackwardFunction · 0.85
RematerializeFnFunction · 0.85
_DefineFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…