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

Method ~Arena

tensorflow/core/framework/ev_allocator.h:372–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 Arena(PageMap<ChunkType>* pm) : page_map_(pm) {}
371
372 ~Arena() {
373 for (auto it = bins_.begin(); it != bins_.end(); ++it) {
374 delete it->second;
375 }
376 bins_.clear();
377 }
378
379 size_t BatchAllocate(size_t num, size_t bin_size, void** ret) {
380 Bin<ChunkType> *bin = nullptr;

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected