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

Function ValidateErrorReporter

tensorflow/lite/model.cc:36–38  ·  view source on GitHub ↗

Ensure that ErrorReporter is non-null.

Source from the content-addressed store, hash-verified

34namespace {
35// Ensure that ErrorReporter is non-null.
36ErrorReporter* ValidateErrorReporter(ErrorReporter* e) {
37 return e ? e : DefaultErrorReporter();
38}
39} // namespace
40
41const char* kEmptyTensorName = "";

Callers 7

BuildFromFileMethod · 0.85
BuildFromBufferMethod · 0.85
BuildFromModelMethod · 0.85
FlatBufferModelMethod · 0.85
InterpreterBuilderMethod · 0.85

Calls 1

DefaultErrorReporterFunction · 0.85

Tested by

no test coverage detected