MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RefCountIsOne

Method RefCountIsOne

tensorflow/core/lib/core/refcount.h:115–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115inline bool RefCounted::RefCountIsOne() const {
116 return (ref_.load(std::memory_order_acquire) == 1);
117}
118
119} // namespace core
120} // namespace tensorflow

Callers 2

TEST_FFunction · 0.45
OpenMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by 1

TEST_FFunction · 0.36