/external/tensorflow/tensorflow/lite/delegates/external/ |
D | external_delegate.cc | 28 using CreateDelegatePtr = std::add_pointer<TfLiteDelegate*( 31 using DestroyDelegatePtr = std::add_pointer<void(TfLiteDelegate*)>::type; 67 TfLiteDelegate* tflite_external_delegate() { return external_delegate_; } in tflite_external_delegate() 70 TfLiteDelegate* tflite_wrapper_delegate() { return &wrapper_delegate_; } in tflite_wrapper_delegate() 79 TfLiteDelegate* external_delegate_; 82 TfLiteDelegate wrapper_delegate_; 87 TfLiteDelegate* delegate) { in GetExternalDelegateWrapper() 92 TfLiteStatus DelegatePrepare(TfLiteContext* context, TfLiteDelegate* delegate) { in DelegatePrepare() 94 TfLiteDelegate* external_delegate = in DelegatePrepare() 102 struct TfLiteDelegate* delegate, in DelegateCopyFromBufferHandle() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/utils/dummy_delegate/ |
D | dummy_delegate.h | 44 TfLiteDelegate* TfLiteDummyDelegateCreate(const DummyDelegateOptions* options); 47 void TfLiteDummyDelegateDelete(TfLiteDelegate* delegate); 54 inline std::unique_ptr<TfLiteDelegate, void (*)(TfLiteDelegate*)> 56 return std::unique_ptr<TfLiteDelegate, void (*)(TfLiteDelegate*)>( in TfLiteDummyDelegateCreateUnique()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.h | 40 class StatefulNnApiDelegate : public TfLiteDelegate { 159 static const Options GetOptions(TfLiteDelegate* delegate); 196 TfLiteDelegate* delegate); 270 TfLiteDelegate* delegate); 276 TfLiteDelegate* delegate, 284 TfLiteDelegate* delegate, 292 TfLiteDelegate* delegate, 304 TfLiteContext* context, TfLiteDelegate* delegate, const NnApi* nnapi, 335 TfLiteDelegate* NnApiDelegate();
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | prelu_test.cc | 30 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 50 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 71 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 92 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 113 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 134 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 155 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 176 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 196 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 217 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() [all …]
|
D | mean_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 50 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 71 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 92 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 113 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 134 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 155 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 182 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 209 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 230 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() [all …]
|
D | pad_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 48 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 67 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 86 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 105 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 143 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 162 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 181 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 200 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() [all …]
|
D | div_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | sub_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | add_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | mul_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | minimum_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | maximum_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | squared_difference_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 49 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 74 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 99 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 124 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 149 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 174 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 199 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 224 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 249 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> [all …]
|
D | fully_connected_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 48 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 68 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 90 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 113 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 136 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 159 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 183 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 207 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 232 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() [all …]
|
D | reshape_test.cc | 30 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 51 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 72 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 93 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 114 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 134 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 154 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 172 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 190 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 204 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST()
|
D | leaky_relu_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 48 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 66 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 81 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 95 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 118 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST()
|
D | softmax_test.cc | 29 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 48 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 64 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 79 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> 93 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST() 121 std::unique_ptr<TfLiteDelegate, decltype(&TfLiteXNNPackDelegateDelete)> in TEST()
|
/external/tensorflow/tensorflow/lite/python/testdata/ |
D | test_delegate.cc | 35 TfLiteDelegate* tflite_plugin_create_delegate(char** options_keys, in tflite_plugin_create_delegate() 53 TfLiteDelegate* ptr = new TfLiteDelegate; in tflite_plugin_create_delegate() 54 ptr->Prepare = [](TfLiteContext* context, TfLiteDelegate* delegate) { in tflite_plugin_create_delegate() 66 void tflite_plugin_destroy_delegate(TfLiteDelegate* delegate) { in tflite_plugin_destroy_delegate()
|
/external/tensorflow/tensorflow/lite/ |
D | tflite_with_xnnpack.cc | 22 std::unique_ptr<TfLiteDelegate, void (*)(TfLiteDelegate*)> 27 return std::unique_ptr<TfLiteDelegate, void (*)(TfLiteDelegate*)>( in AcquireXNNPACKDelegate()
|
/external/tensorflow/tensorflow/lite/c/ |
D | common.h | 64 struct TfLiteDelegate; 414 struct TfLiteDelegate* delegate; 480 struct TfLiteDelegate* delegate; 615 struct TfLiteDelegate* delegate; 672 const TfLiteIntArray* nodes_to_replace, struct TfLiteDelegate* delegate); 865 typedef struct TfLiteDelegate { struct 877 struct TfLiteDelegate* delegate); argument 884 struct TfLiteDelegate* delegate, argument 891 struct TfLiteDelegate* delegate, argument 900 struct TfLiteDelegate* delegate, argument [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | metal_delegate.h | 28 typedef struct TfLiteDelegate TfLiteDelegate; typedef 64 TFL_CAPI_EXPORT extern TfLiteDelegate* TFLGpuDelegateCreate( 68 TFL_CAPI_EXPORT extern void TFLGpuDelegateDelete(TfLiteDelegate* delegate);
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | gpu_api_delegate.h | 72 TFL_CAPI_EXPORT TfLiteDelegate* TfLiteGpuDelegateCreate_New( 76 TFL_CAPI_EXPORT void TfLiteGpuDelegateDelete_New(TfLiteDelegate* delegate); 92 TfLiteDelegate* delegate, GLuint buffer_id, int tensor_index, 101 TfLiteDelegate* delegate, size_t* size, const uint8_t** data);
|
/external/tensorflow/tensorflow/lite/delegates/utils/ |
D | simple_delegate.h | 39 std::unique_ptr<TfLiteDelegate, void (*)(TfLiteDelegate*)>; 120 static TfLiteDelegate* CreateSimpleDelegate( 127 static void DeleteSimpleDelegate(TfLiteDelegate* delegate);
|
/external/tensorflow/tensorflow/lite/tools/evaluation/ |
D | utils.cc | 34 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateNullDelegate() argument 102 [](TfLiteDelegate*) {}); in CreateNNAPIDelegate() argument 111 new StatefulNnApiDelegate(options), [](TfLiteDelegate* delegate) { in CreateNNAPIDelegate() 160 TfLiteDelegate* delegate = TfLiteHexagonDelegateCreate(options); in CreateHexagonDelegate() 165 return TfLiteDelegatePtr(delegate, [](TfLiteDelegate* delegate) { in CreateHexagonDelegate() 187 return TfLiteDelegatePtr(xnnpack_delegate, [](TfLiteDelegate* delegate) { in CreateXNNPACKDelegate()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/c/ |
D | delegate_plugin.h | 31 typedef TfLiteDelegate *TfLiteDelegatePluginCreateFunc( 37 typedef void TfLiteDelegatePluginDestroyFunc(TfLiteDelegate *); 42 typedef int TfLiteDelegatePluginGetDelegateErrnoFunc(TfLiteDelegate *);
|