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

Method DeviceSafeDebugString

tensorflow/core/framework/tensor.cc:1309–1312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307}
1308
1309string Tensor::DeviceSafeDebugString() const {
1310 return strings::StrCat("Tensor<type: ", DataTypeString(dtype()),
1311 " shape: ", shape().DebugString(), ">");
1312}
1313
1314void Tensor::FillDescription(TensorDescription* description) const {
1315 description->set_dtype(dtype());

Callers 1

PopulateOutputsMethod · 0.80

Calls 5

DataTypeStringFunction · 0.70
StrCatFunction · 0.50
dtypeFunction · 0.50
shapeFunction · 0.50
DebugStringMethod · 0.45

Tested by

no test coverage detected