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

Method Has

lingvo/core/nested_map.py:339–358  ·  view source on GitHub ↗

Returns True if the given key exists in this map. Note that this uses typical NestedMap key syntax, including support for nested maps and array values. E.g. foo[10].bar. Args: key: The key whose presense is to be checked.

(self, key: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testHasMethod · 0.80

Calls 2

SquareBracketIndexMethod · 0.95
splitMethod · 0.80

Tested by 1

testHasMethod · 0.64