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

Method Dump

tensorflow/core/common_runtime/memory_planner.cc:243–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void LifetimePolicy::Dump() const {
244 // LOG(INFO_DEV) << "LifetimePolicy, start:" << start_
245 // << ", interval:" << interval_
246 // << ", Detail:";
247 for (auto& b : bins_) {
248 b->Dump();
249 }
250 {
251 std::lock_guard<spin_lock> l(large_bin_lock_);
252 for (auto& large_bin : large_bins_) {
253 auto bin_info = large_bin.second;
254 bin_info->Dump();
255 }
256 }
257}
258
259void LifetimePolicy::Cleanup() {
260 for (auto bin : bins_) {

Callers 5

InitMethod · 0.45
ValidateMethod · 0.45
InitMethod · 0.45
GrpcMaybeParseProtoFunction · 0.45
ToStringFunction · 0.45

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by 2

ValidateMethod · 0.36
ToStringFunction · 0.36