Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ DecRefCount
Method
DecRefCount
include/singa/core/common.h:82–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
return ++ref_count_; // Note do not use ref_count_++;
81
}
82
int DecRefCount() { return --ref_count_; }
83
int ref_count() const { return ref_count_.load(); }
84
85
bool initialized() const { return initialized_; }
Callers
3
~Tensor
Method · 0.80
tensor.cc
File · 0.80
FromProto
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected