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

Method size

tensorflow/core/graph/edgeset.h:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132inline bool EdgeSet::empty() const { return size() == 0; }
133
134inline EdgeSet::size_type EdgeSet::size() const {
135 auto s = get_set();
136 if (s) {
137 return s->size();
138 } else {
139 size_t result = 0;
140 for (int i = 0; i < kInline; i++) {
141 if (ptrs_[i]) result++;
142 }
143 return result;
144 }
145}
146
147inline void EdgeSet::clear() {
148 RegisterMutation();

Callers 15

mainFunction · 0.45
mainFunction · 0.45
dataset.pyFile · 0.45
_partitionMethod · 0.45
ReplaceNodeFunction · 0.45
GetShapeValueFunction · 0.45
CreateRestoreOpFunction · 0.45
CreateRestoreAllNodeFunction · 0.45
CheckDynamicStitchNodeFunction · 0.45
CheckUniqueNodeFunction · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
EncodeByFlatBufferFunction · 0.36
mainFunction · 0.36
encodeByFlatBufferMethod · 0.36
mainFunction · 0.36
GetModelSessionSizeMethod · 0.36
TestConstantFoldingMethod · 0.36
TestIgnoreOpsMethod · 0.36
TestInsertLoggingMethod · 0.36