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

Function TF_GetCode

tensorflow/c/tf_status.cc:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36TF_Code TF_GetCode(const TF_Status* s) {
37 return static_cast<TF_Code>(s->status.code());
38}
39
40const char* TF_Message(const TF_Status* s) {
41 return s->status.error_message().c_str();

Callers 15

mainFunction · 0.85
TF_Run_wrapper_helperFunction · 0.85
SetOpAttrListFunction · 0.85
GetFuncFunction · 0.85
SetOpAttrScalarFunction · 0.85
SetOpAttrsFunction · 0.85
SetOpAttrWithDefaultsFunction · 0.85
TFE_Py_ExecuteCancelableFunction · 0.85
TFE_Py_FastPathExecute_CFunction · 0.85

Calls 1

codeMethod · 0.45

Tested by 15

mainFunction · 0.68
TFProfShowTestMethod · 0.68
TFProfTensorTestMethod · 0.68
TFProfStatsTestMethod · 0.68
mainFunction · 0.68
InitMethod · 0.68
ExpectOKMethod · 0.68
ExpectErrorMethod · 0.68
RunMethod · 0.68
CreateCondGraphMethod · 0.68
GraphDebugStringMethod · 0.68
TEST_FFunction · 0.68