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

Function AppendToMessage

tensorflow/core/lib/core/errors.h:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62// to be several layers of additional context.
63template <typename... Args>
64void AppendToMessage(::tensorflow::Status* status, Args... args) {
65 *status = ::tensorflow::Status(
66 status->code(),
67 ::tensorflow::strings::StrCat(status->error_message(), "\n\t", args...));
68}
69
70// For propagating errors when calling a function.
71#define TF_RETURN_IF_ERROR(...) \

Callers 15

ConstantInputReshapedMethod · 0.85
CreateDevicesMethod · 0.85
CreateDevicesMethod · 0.85
ComputeMethod · 0.85
CheckShapeMethod · 0.85
ValidateTupleMethod · 0.85
ValidateMethod · 0.85
FindKernelDefFunction · 0.85
CreateOpKernelFunction · 0.85

Calls 3

StatusClass · 0.70
StrCatFunction · 0.50
codeMethod · 0.45

Tested by

no test coverage detected