ArmNN
 23.08
ArmnnDelegatePlugin Class Reference

#include <armnn_delegate.hpp>

Inheritance diagram for ArmnnDelegatePlugin:
[legend]
Collaboration diagram for ArmnnDelegatePlugin:
[legend]

Public Member Functions

tflite::delegates::TfLiteDelegatePtr Create () override
 
int GetDelegateErrno (TfLiteOpaqueDelegate *from_delegate) override
 
 ArmnnDelegatePlugin (const tflite::TFLiteSettings &tfliteSettings)
 

Static Public Member Functions

static std::unique_ptr< ArmnnDelegatePluginNew (const tflite::TFLiteSettings &tflite_settings)
 

Detailed Description

Definition at line 93 of file armnn_delegate.hpp.

Constructor & Destructor Documentation

◆ ArmnnDelegatePlugin()

ArmnnDelegatePlugin ( const tflite::TFLiteSettings &  tfliteSettings)
inlineexplicit

Definition at line 113 of file armnn_delegate.hpp.

114  {
115  // Use default settings until options have been enabled.
116  }

Member Function Documentation

◆ Create()

tflite::delegates::TfLiteDelegatePtr Create ( )
inlineoverride

Definition at line 101 of file armnn_delegate.hpp.

102  {
103  // Use default settings until options have been enabled.
104  return tflite::delegates::TfLiteDelegatePtr(
106  }

References armnnOpaqueDelegate::TfLiteArmnnOpaqueDelegateCreate(), and armnnOpaqueDelegate::TfLiteArmnnOpaqueDelegateDelete().

◆ GetDelegateErrno()

int GetDelegateErrno ( TfLiteOpaqueDelegate *  from_delegate)
inlineoverride

Definition at line 108 of file armnn_delegate.hpp.

109  {
110  return 0;
111  }

◆ New()

static std::unique_ptr<ArmnnDelegatePlugin> New ( const tflite::TFLiteSettings &  tflite_settings)
inlinestatic

Definition at line 96 of file armnn_delegate.hpp.

97  {
98  return std::make_unique<ArmnnDelegatePlugin>(tflite_settings);
99  }

The documentation for this class was generated from the following file:
armnnOpaqueDelegate::TfLiteArmnnOpaqueDelegateDelete
void TfLiteArmnnOpaqueDelegateDelete(TfLiteOpaqueDelegate *tfLiteDelegate)
armnnOpaqueDelegate::TfLiteArmnnOpaqueDelegateCreate
TfLiteOpaqueDelegate * TfLiteArmnnOpaqueDelegateCreate(const void *settings)