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

Method RecordTensorDeallocation

tensorflow/core/framework/log_memory.cc:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void LogMemory::RecordTensorDeallocation(const int64 allocation_id,
59 const string& allocator_name) {
60 MemoryLogTensorDeallocation deallocation;
61 deallocation.set_allocation_id(allocation_id);
62 deallocation.set_allocator_name(allocator_name);
63 OutputToLog(deallocation);
64}
65
66void LogMemory::RecordTensorOutput(const string& kernel_name,
67 const int64 step_id, const int index,

Callers

nothing calls this directly

Calls 1

OutputToLogFunction · 0.85

Tested by

no test coverage detected