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

Method FromText

lingvo/core/hyperparams.py:869–1015  ·  view source on GitHub ↗

Merges params specified in 'text' into 'params'. 'text' follows the simple text format as produced by ToText. For a param specified in both 'params' and 'text', overwrites the value in 'params' according to 'text'. Params specified in 'text' but not in 'params' are ignored. Arg

(self: ParamsT,
               text: str,
               type_overrides: Optional[Mapping[str, str]] = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

FromTextWithTypesMethod · 0.95
testToTextMethod · 0.95
testStringEscapingMethod · 0.95
testFromToTextMethod · 0.80
testFromToTextTypesMethod · 0.80
testFromTextBadFormatMethod · 0.80
testTypeOverrideMethod · 0.80

Calls 4

GetMethod · 0.95
SetMethod · 0.95
_EndsWithTerminalQuoteFunction · 0.85
splitMethod · 0.80

Tested by 6

testToTextMethod · 0.76
testStringEscapingMethod · 0.76
testFromToTextMethod · 0.64
testFromToTextTypesMethod · 0.64
testFromTextBadFormatMethod · 0.64
testTypeOverrideMethod · 0.64