Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
132
void MemoryPlanner::Cleanup() {
133
for (auto policy : lifetime_stats_polices_) {
134
policy->Cleanup();
135
}
136
}
137
138
void MemoryPlanner::SetAllocator(TensorPoolAllocator* allocator) {
139
allocator_ = allocator;
Callers
6
TEST_F
Function · 0.45
RunState
Method · 0.45
TEST_F
Function · 0.45
ClearContainers
Method · 0.45
Run
Method · 0.45
StartStep
Method · 0.45
Calls
1
clear
Method · 0.45
Tested by
2
TEST_F
Function · 0.36
TEST_F
Function · 0.36