TfLiteRegistration_V3
#include <common.h>
\private Old version of TfLiteRegistration
to maintain binary backward compatibility.
Summary
The legacy registration type must be a POD struct type whose field types must be a prefix of the field types in TfLiteRegistration, and offset of the first field in TfLiteRegistration that is not present in the legacy registration type must be greater than or equal to the size of the legacy registration type.
WARNING: This structure is deprecated / not an official part of the API. It should be only used for binary backward compatibility.
Public attributes |
|
---|---|
async_kernel)(TfLiteContext *context, TfLiteNode *node)
|
struct TfLiteAsyncKernel *(*
|
builtin_code
|
int32_t
|
custom_name
|
const char *
|
free)(TfLiteContext *context, void *buffer)
|
void(*
|
init)(TfLiteContext *context, const char *buffer, size_t length)
|
void *(*
|
invoke)(TfLiteContext *context, TfLiteNode *node)
|
TfLiteStatus(*
|
prepare)(TfLiteContext *context, TfLiteNode *node)
|
TfLiteStatus(*
|
profiling_string)(const TfLiteContext *context, const TfLiteNode *node)
|
const char *(*
|
registration_external
|
TfLiteRegistrationExternal *
|
version
|
int
|
Public attributes
async_kernel
struct TfLiteAsyncKernel *(* TfLiteRegistration_V3::async_kernel)(TfLiteContext *context, TfLiteNode *node)
builtin_code
int32_t TfLiteRegistration_V3::builtin_code
custom_name
const char * TfLiteRegistration_V3::custom_name
free
void(* TfLiteRegistration_V3::free)(TfLiteContext *context, void *buffer)
init
void *(* TfLiteRegistration_V3::init)(TfLiteContext *context, const char *buffer, size_t length)
invoke
TfLiteStatus(* TfLiteRegistration_V3::invoke)(TfLiteContext *context, TfLiteNode *node)
prepare
TfLiteStatus(* TfLiteRegistration_V3::prepare)(TfLiteContext *context, TfLiteNode *node)
profiling_string
const char *(* TfLiteRegistration_V3::profiling_string)(const TfLiteContext *context, const TfLiteNode *node)
registration_external
TfLiteRegistrationExternal * TfLiteRegistration_V3::registration_external
version
int TfLiteRegistration_V3::version