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

Method ParamIsSet

lingvo/core/hyperparams.py:478–493  ·  view source on GitHub ↗

Determines if the params have a non-None value for the given key. Note: differs from __contains__ in that it handles nested keys. The convention here is for titlecase functions to use these semantics. Args: key: the string key whose presence is to be checked. Returns:

(self, key: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testContainsMethod · 0.95

Calls 1

GetMethod · 0.95

Tested by 1

testContainsMethod · 0.76