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

Method CopyBaseParams

lingvo/core/base_layer.py:288–320  ·  view source on GitHub ↗

Copies BaseLayer params from `from_params` to `to_params`.

(from_params: hyperparams.InstantiableParams[BaseLayerS],
                     to_params: BaseLayerParamsT)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

CreateChildMethod · 0.95
InstantiateMethod · 0.95
testCopyBaseParamsMethod · 0.80
CopyTaskParamsMethod · 0.80
_MoeLayerParamsMethod · 0.80

Calls 1

CopyMethod · 0.45

Tested by 1

testCopyBaseParamsMethod · 0.64