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

Function _GetSaveableVariablesDict

lingvo/core/checkpointer.py:425–462  ·  view source on GitHub ↗

Get all variables of the model that should be saved. Args: models: a list of lingvo model objects. Returns: A map of the variables with their names as keys, trailing `:0` stripepd. Raises: RuntimeError: if there are variables with shared name.

(models)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_GetSaverMethod · 0.85
_GetRestorerMethod · 0.85

Calls 1

GetVariablesDictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…