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

Method Cleanup

tensorflow/core/common_runtime/memory_planner.cc:132–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void MemoryPlanner::Cleanup() {
133 for (auto policy : lifetime_stats_polices_) {
134 policy->Cleanup();
135 }
136}
137
138void MemoryPlanner::SetAllocator(TensorPoolAllocator* allocator) {
139 allocator_ = allocator;

Callers 6

TEST_FFunction · 0.45
RunStateMethod · 0.45
TEST_FFunction · 0.45
ClearContainersMethod · 0.45
RunMethod · 0.45
StartStepMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36