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

Method experimental_ref

tensorflow/tensorflow/python/framework/ops.py:800–851  ·  view source on GitHub ↗

Returns a hashable reference object to this Tensor. Warning: Experimental API that could be changed or removed. The primary usecase for this API is to put tensors in a set/dictionary. We can't put tensors in a set/dictionary as `tensor.__hash__()` is no longer available starting Te

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

testRefMethod · 0.45
testRefDerefMethod · 0.45
testRefInSetMethod · 0.45
testRefInDictMethod · 0.45
testTensorRefStrongMethod · 0.45
add_opMethod · 0.45
op_in_groupMethod · 0.45
_zerosFunction · 0.45
applyMethod · 0.45
averageMethod · 0.45

Calls 1

ReferenceMethod · 0.45

Tested by 8

testRefMethod · 0.36
testRefDerefMethod · 0.36
testRefInSetMethod · 0.36
testRefInDictMethod · 0.36
testTensorRefStrongMethod · 0.36
testSlotsUniqueEagerMethod · 0.36