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

Function _CreateVariableStateless

lingvo/core/py_utils.py:2088–2186  ·  view source on GitHub ↗

Creates tf.Variable using TF stateless RNGs according to `params`. Args: name: A string, name of the variable. params: A WeightParams specifying the details of how this variable should be constructed and initialized. trainable: Whether or not the variable is trainable. colle

(name,
                             params,
                             trainable=True,
                             collections=None,
                             default_seed=None,
                             synchronization=tf.VariableSynchronization.AUTO,
                             aggregation=tf.VariableAggregation.NONE)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CreateVariableFunction · 0.85

Calls 13

ToStaticShapeFunction · 0.85
IsDefaultParamInitFunction · 0.85
GetVariableNameFunction · 0.85
FindDataTypeFunction · 0.85
_CreateVarInitStatelessFunction · 0.85
GetLingvoVariableCreatorFunction · 0.85
VariableCreatorScopeFunction · 0.85
_GetVariableCreatorFunction · 0.85
GetVariableShapePrefixesFunction · 0.85
CopyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…