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

Function IsOk

tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46static bool IsOk(const TF_Status* s) {
47 if (TF_GetCode(s) == TF_OK) return true;
48 VLOG(2) << TF_Message(s);
49 return false;
50}
51
52static bool IsOk(const Status& s) {
53 if (s.ok()) return true;

Callers

nothing calls this directly

Calls 3

TF_GetCodeFunction · 0.85
TF_MessageFunction · 0.85
okMethod · 0.45

Tested by

no test coverage detected