Home
last modified time | relevance | path

Searched refs:NNAPIDelegate (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dnnapi_delegate_disabled.cc30 NNAPIDelegate::~NNAPIDelegate() { in ~NNAPIDelegate()
38 TfLiteStatus NNAPIDelegate::BuildGraph(Subgraph* subgraph) { in BuildGraph()
42 TfLiteStatus NNAPIDelegate::Invoke(Subgraph* subgraph) { return kTfLiteError; } in Invoke()
44 bool NNAPIDelegate::IsSupported() { return false; } in IsSupported()
Dnnapi_delegate.h49 class NNAPIDelegate {
51 ~NNAPIDelegate();
Dnnapi_delegate.cc101 NNAPIDelegate::~NNAPIDelegate() { in ~NNAPIDelegate()
698 TfLiteStatus NNAPIDelegate::BuildGraph(Subgraph* subgraph) { in BuildGraph()
771 TfLiteStatus NNAPIDelegate::Invoke(Subgraph* subgraph) { in Invoke()
845 bool NNAPIDelegate::IsSupported() { in IsSupported()
Dmodel.cc72 if (use_nnapi && NNAPIDelegate::IsSupported()) in GetAllocationFromFile()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc116 TEST(NNAPIDelegate, AddWithNoActivation) { in TEST() argument
129 TEST(NNAPIDelegate, AddWithNoActivationRelaxed) { in TEST() argument
140 TEST(NNAPIDelegate, AddWithRelu) { in TEST() argument
152 TEST(NNAPIDelegate, ResizeFails) { in TEST() argument
185 TEST(NNAPIDelegate, MulWithNoActivation) { in TEST() argument
224 TEST(NNAPIDelegate, AveragePoolWithNoActivation) { in TEST() argument
237 TEST(NNAPIDelegate, MaxPoolWithNoActivation) { in TEST() argument
250 TEST(NNAPIDelegate, L2PoolWithNoActivation) { in TEST() argument
499 TEST(NNAPIDelegate, DepthwiseConv2DWithNoActivation) { in TEST() argument
654 TEST(NNAPIDelegate, SoftmaxSimpleTest) { in TEST() argument
[all …]
/external/tensorflow/tensorflow/contrib/lite/
Dnnapi_delegate.cc131 NNAPIDelegate::~NNAPIDelegate() { in ~NNAPIDelegate()
710 TfLiteStatus NNAPIDelegate::BuildGraph(Interpreter* interpreter) { in BuildGraph()
785 TfLiteStatus NNAPIDelegate::Invoke(Interpreter* interpreter) { in Invoke()
857 bool NNAPIDelegate::IsSupported() { return NNAPIExists(); } in IsSupported()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h30 class NNAPIDelegate; variable
515 std::unique_ptr<NNAPIDelegate> nnapi_delegate_;
Dsubgraph.cc963 if (!NNAPIDelegate::IsSupported()) enable = false; in UseNNAPI()
967 nnapi_delegate_.reset(new NNAPIDelegate); in UseNNAPI()