MCPcopy Create free account
hub / github.com/apache/singa / IncRefCount

Method IncRefCount

include/singa/core/common.h:79–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 size_t size() const { return size_; }
78 size_t offset() const { return offset_; }
79 int IncRefCount() {
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

Callers 2

TensorMethod · 0.80
tensor.ccFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected