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

Method GetRange

tensorflow/core/kernels/unique_ali_op_util.h:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 const Range* GetRange(const int32 id) const {
118 if (id < 0 || id >= num_parts_) { return nullptr; }
119 return &parts_[id];
120 }
121
122 bool LocatePos(const int64 pos, int32* task_id) const {
123 for (int32 i = 0; i < num_parts_; ++i) {

Callers 2

ParallelComputeV1Function · 0.80
MultiMapComputeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected