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

Method GetINodeByKey

tensorflow/core/kernels/unique_ali_op_util.h:279–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 }
278
279 inline const INode* GetINodeByKey(const T& key) const {
280 auto item = uniq_.find(key);
281 if (item != uniq_.end()) { return GetINodeByPos(item->second); }
282 return nullptr;
283 }
284
285 bool DeDup(const TIndex pos, const UniqueSubMap& prior_map) {
286 INode* my_inode = &inodes_[pos];

Callers 2

DeDupMethod · 0.80
ParallelComputeV1Function · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected