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

Method RecordTensorOutput

tensorflow/core/framework/log_memory.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void LogMemory::RecordTensorOutput(const string& kernel_name,
67 const int64 step_id, const int index,
68 const Tensor& tensor) {
69 MemoryLogTensorOutput output;
70 output.set_step_id(step_id);
71 output.set_kernel_name(kernel_name);
72 output.set_index(index);
73 tensor.FillDescription(output.mutable_tensor());
74 OutputToLog(output);
75}
76
77void LogMemory::RecordRawAllocation(const string& operation,
78 const int64 step_id, size_t num_bytes,

Callers

nothing calls this directly

Calls 4

OutputToLogFunction · 0.85
set_step_idMethod · 0.80
set_indexMethod · 0.45
FillDescriptionMethod · 0.45

Tested by

no test coverage detected