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

Method CollectDone

tensorflow/core/common_runtime/memory_planner.cc:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void MemoryPlanner::CollectDone() {
126 if (allocator_ != nullptr) {
127 allocator_->Init();
128 }
129 Cleanup();
130}
131
132void MemoryPlanner::Cleanup() {
133 for (auto policy : lifetime_stats_polices_) {

Callers

nothing calls this directly

Calls 2

CleanupClass · 0.50
InitMethod · 0.45

Tested by

no test coverage detected