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

Function main

tensorflow/tools/lib_package/libtensorflow_test.c:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#include <tensorflow/c/c_api.h>
19
20int main() {
21 TF_Status* s = TF_NewStatus();
22 TF_SetStatus(s, TF_UNKNOWN, "Some error");
23 if (TF_GetCode(s) != TF_UNKNOWN) {
24 return 1;
25 }
26 TF_DeleteStatus(s);
27 return 0;
28}

Callers

nothing calls this directly

Calls 4

TF_NewStatusFunction · 0.85
TF_SetStatusFunction · 0.85
TF_GetCodeFunction · 0.85
TF_DeleteStatusFunction · 0.85

Tested by

no test coverage detected