| 866 | } |
| 867 | |
| 868 | void Subgraph::ReportErrorC(TfLiteContext* context, const char* format, ...) { |
| 869 | va_list args; |
| 870 | va_start(args, format); |
| 871 | auto* f = static_cast<Subgraph*>(context->impl_); |
| 872 | // Note here that context->impl_ is recovering the this pointer for an |
| 873 | // instance of Subgraph to call into the member function ReportErrorImpl |
| 874 | // (this function is static). |
| 875 | f->ReportErrorImpl(format, args); |
| 876 | va_end(args); |
| 877 | } |
| 878 | |
| 879 | // Entry point for C node plugin API to report an error. |
| 880 | void Subgraph::ReportError(const char* format, ...) { |
nothing calls this directly
no test coverage detected