# TfLiteRegistration_V3


`#include <common.h>`

\\private Old version of `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration#struct_tf_lite_registration` 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](https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration#struct_tf_lite_registration), and offset of the first field in [TfLiteRegistration](https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration#struct_tf_lite_registration) 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 ||
|---|---|
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a9c26992460fc79173c162f665a7209ea)(TfLiteContext *context, TfLiteNode *node)` | `struct TfLiteAsyncKernel *(*` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1aee0492f3a4a4f22d9d5f1c44cdfb9b81` | `int32_t` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a35a758b5e456bee30e0958c31403ce94` | `const char *` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1af408a57d464835b4bb3b3c113d8d6b99)(TfLiteContext *context, void *buffer)` | `void(*` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a2c09d9f02aa4f8b0a88aedbf1b02f606)(TfLiteContext *context, const char *buffer, size_t length)` | `void *(*` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a770159fdb783c1a2ce6bf11010df682e)(TfLiteContext *context, TfLiteNode *node)` | `TfLiteStatus(*` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a56802468efa3a082e35afa34f7282955)(TfLiteContext *context, TfLiteNode *node)` | `TfLiteStatus(*` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a4c9b0f974bb46e223dde347c64d1c28c)(const TfLiteContext *context, const TfLiteNode *node)` | `const char *(*` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1a993208ac1e44f5d68e49c9a052dd6bc4` | `TfLiteOperator *` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-registration-v3#struct_tf_lite_registration___v3_1ad4afbbc5f69bf96a10592c03e23795b3` | `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

```
TfLiteOperator * TfLiteRegistration_V3::registration_external
```

### version

```
int TfLiteRegistration_V3::version
```