| 41 | std::unique_ptr<TfLiteQuantization, TfLiteQuantizationDeleter>; |
| 42 | |
| 43 | TfLiteStatus ReportOpError(TfLiteContext* context, const TfLiteNode& node, |
| 44 | const TfLiteRegistration& registration, |
| 45 | int node_index, const char* message) { |
| 46 | context->ReportError( |
| 47 | context, "Node number %d (%s) %s.\n", node_index, |
| 48 | registration.custom_name |
| 49 | ? registration.custom_name |
| 50 | : EnumNameBuiltinOperator( |
| 51 | static_cast<BuiltinOperator>(registration.builtin_code)), |
| 52 | message); |
| 53 | return kTfLiteError; |
| 54 | } |
| 55 | |
| 56 | // Stub method which returns kTfLiteError when the function is forbidden. |
| 57 | // We're registering this function to several different function to save |
no test coverage detected