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

Method _ref

tensorflow/python/ops/variables.py:460–474  ·  view source on GitHub ↗

Returns a reference to this variable. You usually do not need to call this method as all ops that need a reference to the variable call it automatically. Returns is a `Tensor` which holds a reference to the variable. You can assign a new value to the variable by passing the tensor

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

testRefSwitchMethod · 0.95
testTensorsMethod · 0.95
testIndexedSlicesMethod · 0.95
testControlDepsNoneMethod · 0.95
set_shapeMethod · 0.95
_strided_slice_assignMethod · 0.95
testCustomMainOpMethod · 0.95
_clip_denseMethod · 0.45
testWhileWithRefs_1Method · 0.45

Calls

no outgoing calls

Tested by 9

testRefSwitchMethod · 0.76
testTensorsMethod · 0.76
testIndexedSlicesMethod · 0.76
testControlDepsNoneMethod · 0.76
testCustomMainOpMethod · 0.76
testWhileWithRefs_1Method · 0.36