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()
C API for the XNNPACK delegate plugin.

Functions

TfLiteXnnpackDelegatePluginCApi

const TfLiteDelegatePlugin * TfLiteXnnpackDelegatePluginCApi()

C API for the XNNPACK delegate plugin.

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