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

Method find

tensorflow/core/lib/gtl/flatmap.h:219–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218 size_t count(const Key& k) const { return rep_.Find(k).found ? 1 : 0; }
219 iterator find(const Key& k) {
220 auto r = rep_.Find(k);
221 return r.found ? iterator(r.b, rep_.limit(), r.index) : end();
222 }
223 const_iterator find(const Key& k) const {
224 auto r = rep_.Find(k);
225 return r.found ? const_iterator(r.b, rep_.limit(), r.index) : end();

Callers 15

GetStaticGraphOpsMethod · 0.45
RunMethod · 0.45
FindGatherNodeFunction · 0.45
InternalFindUniqueNodeFunction · 0.45
ModifySharedNameAttrFunction · 0.45
FindVariablePartsMethod · 0.45
GetFeature2IdAttrMethod · 0.45
TESTFunction · 0.45

Calls 4

iteratorClass · 0.70
const_iteratorClass · 0.70
FindMethod · 0.45
limitMethod · 0.45

Tested by 15

TESTFunction · 0.36
TestFeatureNameAttrFunction · 0.36
GetChildrenMethod · 0.36
IsDirectoryMethod · 0.36
testParseErrorMethod · 0.36
testReportMethod · 0.36
testParseErrorMethod · 0.36
testReportMethod · 0.36
default_textMethod · 0.36
textMethod · 0.36
original_textMethod · 0.36