Searched refs:NNAPIDelegate (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/ |
D | nnapi_delegate_disabled.cc | 30 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()
|
D | nnapi_delegate.h | 49 class NNAPIDelegate { 51 ~NNAPIDelegate();
|
D | nnapi_delegate.cc | 101 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()
|
D | model.cc | 72 if (use_nnapi && NNAPIDelegate::IsSupported()) in GetAllocationFromFile()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_test.cc | 116 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/ |
D | nnapi_delegate.cc | 131 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/ |
D | subgraph.h | 30 class NNAPIDelegate; variable 515 std::unique_ptr<NNAPIDelegate> nnapi_delegate_;
|
D | subgraph.cc | 963 if (!NNAPIDelegate::IsSupported()) enable = false; in UseNNAPI() 967 nnapi_delegate_.reset(new NNAPIDelegate); in UseNNAPI()
|