Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ RefIfNonNull
Function
RefIfNonNull
tensorflow/core/framework/tensor.cc:666–668 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
664
}
665
666
void RefIfNonNull(core::RefCounted* buf) {
667
if (buf) buf->Ref();
668
}
669
670
void UnrefIfNonNull(core::RefCounted* buf) {
671
if (buf) buf->Unref();
Callers
3
Tensor
Method · 0.85
CopyFromInternal
Method · 0.85
BitcastFrom
Method · 0.85
Calls
1
Ref
Method · 0.45
Tested by
no test coverage detected