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

Method Define

lingvo/core/hyperparams.py:377–397  ·  view source on GitHub ↗

Defines a parameter. Args: name: The parameter name. Must only contain lowercase letters, numbers, and underscores. Must start with lowercase letter. default_value: Default value for this parameter. May be None. description: String description of this parameter. R

(self, name: str, default_value: Any, description: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestMethod · 0.95
ParamsMethod · 0.95
testBasicMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95
ParamsMethod · 0.95

Calls 1

_ParamClass · 0.85

Tested by 15

TestMethod · 0.76
testBasicMethod · 0.76
testVnMethod · 0.76
ParamsMethod · 0.76
_CreateDummyParamsFunction · 0.76
ParamsMethod · 0.76
ParamsMethod · 0.76
ParamsMethod · 0.76
ParamsMethod · 0.76
testEqualsMethod · 0.76
testDeepCopyMethod · 0.76
testCopyFieldsToMethod · 0.76