MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / assign

Method assign

tensorflow/python/ops/variables.py:565–578  ·  view source on GitHub ↗

Assigns a new value to the variable. This is essentially a shortcut for `assign(self, value)`. Args: value: A `Tensor`. The new value for this variable. use_locking: If `True`, use locking during the assignment. Returns: A `Tensor` that will hold the new value of thi

(self, value, use_locking=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ExportFunction · 0.95
trainMethod · 0.95
testFetchListMethod · 0.95
__getitem__Method · 0.95
testAssignmentsMethod · 0.95
testColocationMethod · 0.95
testVariableMethod · 0.95

Calls

no outgoing calls

Tested by 15

testFetchListMethod · 0.76
__getitem__Method · 0.76
testAssignmentsMethod · 0.76
testColocationMethod · 0.76
testVariableMethod · 0.76
testSubscribeVariableMethod · 0.76