TfLiteRegistration_V1

#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

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 *(*
version
int

Public attributes

builtin_code

int32_t TfLiteRegistration_V1::builtin_code

custom_name

const char * TfLiteRegistration_V1::custom_name

free

void(* TfLiteRegistration_V1::free)(TfLiteContext *context, void *buffer)

init

void *(* TfLiteRegistration_V1::init)(TfLiteContext *context, const char *buffer, size_t length)

invoke

TfLiteStatus(* TfLiteRegistration_V1::invoke)(TfLiteContext *context, TfLiteNode *node)

prepare

TfLiteStatus(* TfLiteRegistration_V1::prepare)(TfLiteContext *context, TfLiteNode *node)

profiling_string

const char *(* TfLiteRegistration_V1::profiling_string)(const TfLiteContext *context, const TfLiteNode *node)

version

int TfLiteRegistration_V1::version