# TfLiteDelegatePlugin


`#include <delegate_plugin.h>`

Struct to hold all the methods for a delegate plugin.

## Summary

| ### Public attributes ||
|---|---|
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-delegate-plugin#struct_tf_lite_delegate_plugin_1a45430a8de817d139d1d3f160e27af56a` | `TfLiteDelegatePluginCreateFunc *` Function to allocate and construct a delegate. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-delegate-plugin#struct_tf_lite_delegate_plugin_1a845baf5938f37f5a0c0311a323029b94` | `TfLiteDelegatePluginDestroyFunc *` Function to deallocate a delegate. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-delegate-plugin#struct_tf_lite_delegate_plugin_1a57f1a2adf8a3bf2422d9358624631f5e` | `TfLiteDelegatePluginGetDelegateErrnoFunc *` Function to return an error code for the last delegate operation. |

## Public attributes

### create

```
TfLiteDelegatePluginCreateFunc * TfLiteDelegatePlugin::create
```
Function to allocate and construct a delegate.

### destroy

```
TfLiteDelegatePluginDestroyFunc * TfLiteDelegatePlugin::destroy
```
Function to deallocate a delegate.

### get_delegate_errno

```
TfLiteDelegatePluginGetDelegateErrnoFunc * TfLiteDelegatePlugin::get_delegate_errno
```
Function to return an error code for the last delegate operation.