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

Method FullAllocate

tensorflow/core/framework/ev_allocator.h:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 size_t FullAllocate(void** ret) {
266 for (int i = 0; i < slot_count_; ++i) {
267 ret[i] = current_;
268 current_ += slot_size_;
269 }
270 return slot_count_;
271 }
272
273 size_t Count() {
274 return slot_count_;

Callers 1

BatchAllocateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected