MCPcopy Create free account
hub / github.com/alibaba/nann / variable

Function variable

tensorflow/tensorflow/python/keras/backend.py:764–812  ·  view source on GitHub ↗

Instantiates a variable and returns it. Arguments: value: Numpy array, initial value of the tensor. dtype: Tensor type. name: Optional name string for the tensor. constraint: Optional projection function to be applied to the variable after an optimizer update.

(value, dtype=None, name=None, constraint=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

zerosFunction · 0.70
onesFunction · 0.70
eyeFunction · 0.70
random_uniform_variableFunction · 0.70
random_normal_variableFunction · 0.70

Calls 6

floatxFunction · 0.85
int_shapeFunction · 0.85
track_variableFunction · 0.85
VariableMethod · 0.80
concatenateMethod · 0.45
expand_dimsMethod · 0.45

Tested by

no test coverage detected