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

Method Get

lingvo/core/nested_map.py:241–257  ·  view source on GitHub ↗

Gets the value for nested `key`, returns `default` if key does not exist. Names with underscores will be considered as one key. Args: key: str of the form `([A-Za-z_][A-Za-z0-9_]*)(.[A-Za-z_][A-Za-z0-9_]*)*.`. default: Optional default value, defaults to None. Retu

(self, key: str, default: Optional[Any] = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

testNestedMapGetMethod · 0.95

Calls 1

GetItemMethod · 0.95

Tested by 2

testNestedMapGetMethod · 0.76