6 #include <armnn_delegate.hpp>
10 TfLiteOpaqueDelegate* ArmNNDelegateCreateFunc(
const void* tflite_settings)
13 static_cast<const tflite::TFLiteSettings*
>(tflite_settings));
19 void ArmNNDelegateDestroyFunc(TfLiteOpaqueDelegate*
armnnDelegate)
25 int ArmNNDelegateErrnoFunc(TfLiteOpaqueDelegate* sample_stable_delegate)
30 const TfLiteOpaqueDelegatePlugin armnn_delegate_plugin = {
31 ArmNNDelegateCreateFunc, ArmNNDelegateDestroyFunc,
32 ArmNNDelegateErrnoFunc};
34 const TfLiteStableDelegate armnn_delegate = {
35 TFL_STABLE_DELEGATE_ABI_VERSION,
38 &armnn_delegate_plugin
#define OPAQUE_DELEGATE_VERSION
DELEGATE_VERSION: "X.Y.Z" where: X = Major version number Y = Minor version number Z = Patch version ...
void TfLiteArmnnOpaqueDelegateDelete(TfLiteOpaqueDelegate *tfLiteDelegate)
TfLiteOpaqueDelegate * TfLiteArmnnOpaqueDelegateCreate(armnnDelegate::DelegateOptions options)
armnnDelegate::DelegateOptions ParseArmNNSettings(const tflite::TFLiteSettings *tflite_settings)
const TfLiteStableDelegate TFL_TheStableDelegate
The ArmNN delegate to be loaded dynamically.