Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
OpResolver Class Reference
Abstract interface that returns TfLiteRegistrations given op codes or custom op names. More...
#include <op_resolver.h>
Inherited by MicroMutableOpResolver.
Public Member Functions | |
virtual const TfLiteRegistration * | FindOp (tflite::BuiltinOperator op, int version) const =0 |
Finds the op registration for a builtin operator by enum code. | |
virtual const TfLiteRegistration * | FindOp (const char *op, int version) const =0 |
Finds the op registration of a custom operator by op name. |
Detailed Description
Abstract interface that returns TfLiteRegistrations given op codes or custom op names.
This is the mechanism that ops being referenced in the flatbuffer model are mapped to executable function pointers (TfLiteRegistrations).
Definition at line 27 of file op_resolver.h.
Member Function Documentation
virtual const TfLiteRegistration* FindOp | ( | tflite::BuiltinOperator | op, |
int | version | ||
) | const [pure virtual] |
Finds the op registration for a builtin operator by enum code.
virtual const TfLiteRegistration* FindOp | ( | const char * | op, |
int | version | ||
) | const [pure virtual] |
Finds the op registration of a custom operator by op name.
Generated on Wed Jul 13 2022 16:03:37 by
