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

Function ConvertStatus

tensorflow/lite/delegates/flex/util.cc:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace flex {
19
20TfLiteStatus ConvertStatus(TfLiteContext* context,
21 const tensorflow::Status& status) {
22 if (!status.ok()) {
23 context->ReportError(context, "%s", status.error_message().c_str());
24 return kTfLiteError;
25 }
26 return kTfLiteOk;
27}
28
29TfLiteStatus CopyShapeAndType(TfLiteContext* context,
30 const tensorflow::Tensor& src,

Callers 3

InitFunction · 0.85
EvalFunction · 0.85
TESTFunction · 0.85

Calls 3

c_strMethod · 0.80
okMethod · 0.45
ReportErrorMethod · 0.45

Tested by 1

TESTFunction · 0.68