#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h"
namespace tflite {
TfLiteDelegate* NnApiDelegate() { … }
StatefulNnApiDelegate::StatefulNnApiDelegate(const NnApi* )
: … { … }
StatefulNnApiDelegate::StatefulNnApiDelegate(Options )
: … { … }
StatefulNnApiDelegate::StatefulNnApiDelegate(const NnApi* ,
Options )
: … { … }
StatefulNnApiDelegate::StatefulNnApiDelegate(
const NnApiSLDriverImplFL5* ,
Options )
: … { … }
StatefulNnApiDelegate::StatefulNnApiDelegate()
: … { … }
TfLiteStatus StatefulNnApiDelegate::DoPrepare(TfLiteContext* ,
TfLiteDelegate* ) { … }
TfLiteBufferHandle StatefulNnApiDelegate::RegisterNnapiMemory(
ANeuralNetworksMemory* memory, CopyToHostTensorFnPtr callback,
void* callback_context) { … }
int StatefulNnApiDelegate::GetNnApiErrno() const { … }
NNAPIDelegateKernel;
StatefulNnApiDelegate::Data::Data(const NnApi* nnapi) : … { … }
StatefulNnApiDelegate::Data::~Data() { … }
void StatefulNnApiDelegate::Data::CacheDelegateKernel(
const TfLiteDelegateParams* delegate_params,
NNAPIDelegateKernel* delegate_state) { … }
NNAPIDelegateKernel* StatefulNnApiDelegate::Data::MaybeGetCachedDelegateKernel(
const TfLiteDelegateParams* delegate_params) { … }
}