Back to Tensorflow

lite/acceleration/configuration/c/xnnpack_plugin.h

tensorflow/lite/g3doc/api_docs/c/group/xnnpack-plugin.html

2.21.01.0 KB
Original Source

lite/acceleration/configuration/c/xnnpack_plugin.h

This header file is for the delegate plugin for XNNPACK.

Summary

For the C++ delegate plugin interface, the XNNPACK delegate plugin is added to the DelegatePluginRegistry by the side effect of a constructor for a static object, so there's no public API needed for this plugin, other than the API of tflite::delegates::DelegatePluginRegistry, which is declared in delegate_registry.h.

But to provide a C API to access the XNNPACK delegate plugin, we do expose some functions, which are declared below.

|

Functions

| | --- | | TfLiteXnnpackDelegatePluginCApi() | const TfLiteDelegatePlugin *

C API for the XNNPACK delegate plugin. |

Functions

TfLiteXnnpackDelegatePluginCApi

const[TfLiteDelegatePlugin](/lite/api_docs/c/struct/tf-lite-delegate-plugin.html#struct_tf_lite_delegate_plugin)* TfLiteXnnpackDelegatePluginCApi()

C API for the XNNPACK delegate plugin.

Returns a pointer to a statically allocated table of function pointers.