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

Method Set

lingvo/core/nested_map.py:280–337  ·  view source on GitHub ↗

r"""Sets the value for a nested key. There is limited support for indexing lists when square bracket indexing is used, e.g., key[0], key[1], etc. Names with underscores will be considered as one key. When key[idx] is set, all of the values with indices before idx must be already set

(self, key: str, value: Any)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

FPropMethod · 0.95
_TpuEmbLookupMethod · 0.95
GetSliceMethod · 0.95
UpdateMethod · 0.95
_CreateLayerVariablesMethod · 0.95
MiscZeroStateMethod · 0.95
_ExtractMethod · 0.95
ShapeMethod · 0.95
DTypeMethod · 0.95

Calls 4

CheckKeyMethod · 0.95
SquareBracketIndexMethod · 0.95
NestedMapClass · 0.85
splitMethod · 0.80

Tested by 1