# TfLiteDelegatePlugin

`#include <delegate_plugin.h>`

Struct to hold all the methods for a delegate plugin.

## Summary

### Public attributes
`create` | `TfLiteDelegatePluginCreateFunc *` Function to allocate and construct a delegate.
`destroy` | `TfLiteDelegatePluginDestroyFunc *` Function to deallocate a delegate.
`get_delegate_errno` | `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.