TfLiteRegistration_V2

#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

int32_t
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 *(*
TfLiteOperator *
int

Public attributes

builtin_code

int32_t TfLiteRegistration_V2::builtin_code

custom_name

 const 
  
 char 
  
 * 
  
 TfLiteRegistration_V2 
 :: 
 custom_name 

free

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

init

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

invoke

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

prepare

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

profiling_string

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

registration_external

 TfLiteOperator 
  
 * 
  
 TfLiteRegistration_V2 
 :: 
 registration_external 

version

int TfLiteRegistration_V2::version
Design a Mobile Site
View Site in Mobile | Classic
Share by: