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

Method RefCountIsOne

tensorflow/tensorflow/core/framework/tensor.cc:691–694  ·  view source on GitHub ↗

Notice that buf_ either points to a regular TensorBuffer or a SubBuffer. For the latter case, we have to make sure that the refcount is one both for the SubBuffer _and_ the underlying TensorBuffer.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

forward_inputMethod · 0.45
TEST_FFunction · 0.45
EagerKernelExecuteFunction · 0.45
AddFunctionDefMethod · 0.45
RemoveFunctionMethod · 0.45
CopyElementToSliceFunction · 0.45
MaybeMoveSliceToElementFunction · 0.45
TF_TensorMaybeMoveFunction · 0.45

Calls 2

root_bufferMethod · 0.45
OwnsMemoryMethod · 0.45

Tested by 1

TEST_FFunction · 0.36