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

Method DebugString

tensorflow/core/common_runtime/eager/tensor_handle.cc:542–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542string TensorHandle::DebugString() const {
543 VLOG(1) << "Calling TensorHandle::DebugString() on " << this;
544
545 if (symbolic_tensor_) {
546 return absl::Substitute("TF_Output($0, $1)", symbolic_tensor_->oper,
547 symbolic_tensor_->index);
548 }
549
550 string out;
551 strings::StrAppend(&out, "Device: ", device_ ? device_->DebugString() : "[]");
552 // Consider supporting non-CPU tensors (when device_ is non-NULL) if needed.
553 strings::StrAppend(&out, ", Tensor: ",
554 device_ ? "?" : tensor_handle_data_->DebugString(), "\n");
555 return out;
556}
557
558} // namespace tensorflow

Callers 12

SelectDeviceFunction · 0.45
ShouldCompileWithXLAFunction · 0.45
EagerLocalExecuteFunction · 0.45
AssignStreamsFunction · 0.45
AllocateRawMethod · 0.45
DeallocateRawMethod · 0.45
gpu_device.ccFile · 0.45
CheckStatsFunction · 0.45
TESTFunction · 0.45
CheckStatsFunction · 0.45
CheckStatsFunction · 0.45
MakeTensorFromProtoMethod · 0.45

Calls 1

StrAppendFunction · 0.50

Tested by 4

CheckStatsFunction · 0.36
TESTFunction · 0.36
CheckStatsFunction · 0.36
CheckStatsFunction · 0.36