Back to Tensorflow

TfLiteDelegatePlugin

tensorflow/lite/g3doc/api_docs/c/struct/tf-lite-delegate-plugin.html

2.21.01.2 KB
Original Source

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](/lite/api_docs/c/group/delegate-plugin.html#group __delegate__ plugin_1ga3688949cd80282bac66e3e8e1c118ca1)* TfLiteDelegatePlugin::create

Function to allocate and construct a delegate.

destroy

[TfLiteDelegatePluginDestroyFunc](/lite/api_docs/c/group/delegate-plugin.html#group __delegate__ plugin_1ga56c8ce15c6841dc756d4295f19c92c7f)* TfLiteDelegatePlugin::destroy

Function to deallocate a delegate.

get_delegate_errno

[TfLiteDelegatePluginGetDelegateErrnoFunc](/lite/api_docs/c/group/delegate-plugin.html#group __delegate__ plugin_1ga843989c081ce4f553578baea93858b1e)* TfLiteDelegatePlugin::get_delegate_errno

Function to return an error code for the last delegate operation.