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

Method DebugString

tensorflow/core/framework/tensor.cc:1303–1307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301}
1302
1303string Tensor::DebugString(int num_values) const {
1304 return strings::StrCat("Tensor<type: ", DataTypeString(dtype()),
1305 " shape: ", shape().DebugString(),
1306 " values: ", SummarizeValue(num_values), ">");
1307}
1308
1309string Tensor::DeviceSafeDebugString() const {
1310 return strings::StrCat("Tensor<type: ", DataTypeString(dtype()),

Callers 2

SummarizeValueMethod · 0.45
DeviceSafeDebugStringMethod · 0.45

Calls 4

DataTypeStringFunction · 0.70
StrCatFunction · 0.50
dtypeFunction · 0.50
shapeFunction · 0.50

Tested by

no test coverage detected