/external/tensorflow/tensorflow/lite/tools/evaluation/ |
D | utils.cc | 33 TfLiteDelegatePtr CreateNullDelegate() { in CreateNullDelegate() 34 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateNullDelegate() 97 TfLiteDelegatePtr CreateNNAPIDelegate() { in CreateNNAPIDelegate() 99 return TfLiteDelegatePtr( in CreateNNAPIDelegate() 108 TfLiteDelegatePtr CreateNNAPIDelegate(StatefulNnApiDelegate::Options options) { in CreateNNAPIDelegate() 110 return TfLiteDelegatePtr( in CreateNNAPIDelegate() 120 TfLiteDelegatePtr CreateGPUDelegate(TfLiteGpuDelegateOptionsV2* options) { in CreateGPUDelegate() 121 return TfLiteDelegatePtr(TfLiteGpuDelegateV2Create(options), in CreateGPUDelegate() 126 TfLiteDelegatePtr CreateGPUDelegate() { in CreateGPUDelegate() 139 TfLiteDelegatePtr CreateHexagonDelegate( in CreateHexagonDelegate() [all …]
|
D | utils.h | 50 using TfLiteDelegatePtr = variable 71 TfLiteDelegatePtr CreateNNAPIDelegate(); 72 TfLiteDelegatePtr CreateNNAPIDelegate(StatefulNnApiDelegate::Options options); 74 TfLiteDelegatePtr CreateGPUDelegate(); 76 TfLiteDelegatePtr CreateGPUDelegate(TfLiteGpuDelegateOptionsV2* options); 79 TfLiteDelegatePtr CreateHexagonDelegate( 82 TfLiteDelegatePtr CreateHexagonDelegate( 89 TfLiteDelegatePtr CreateXNNPACKDelegate(); 90 TfLiteDelegatePtr CreateXNNPACKDelegate( 93 TfLiteDelegatePtr CreateXNNPACKDelegate(int num_threads);
|
D | evaluation_delegate_provider.h | 56 TfLiteDelegatePtr CreateDelegate(const std::string& name) const; 60 std::vector<TfLiteDelegatePtr> CreateAllDelegates() const { in CreateAllDelegates() 66 std::vector<TfLiteDelegatePtr> CreateAllDelegates( in CreateAllDelegates() 73 std::vector<TfLiteDelegatePtr> CreateAllDelegates( 94 TfLiteDelegatePtr CreateTfLiteDelegate(const TfliteInferenceParams& params,
|
D | evaluation_delegate_provider.cc | 38 TfLiteDelegatePtr CreateTfLiteDelegate(const TfliteInferenceParams& params, in CreateTfLiteDelegate() 68 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate() 75 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate() 112 TfLiteDelegatePtr DelegateProviders::CreateDelegate( in CreateDelegate() 116 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateDelegate() 121 std::vector<TfLiteDelegatePtr> DelegateProviders::CreateAllDelegates( in CreateAllDelegates() 123 std::vector<TfLiteDelegatePtr> delegates; in CreateAllDelegates()
|
/external/tensorflow/tensorflow/lite/ |
D | tflite_with_xnnpack_optional.cc | 28 using TfLiteDelegatePtr = typedef 35 TFLITE_ATTRIBUTE_WEAK TfLiteDelegatePtr 37 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in AcquireXNNPACKDelegate() 42 TfLiteDelegatePtr MaybeCreateXNNPACKDelegate(int num_threads) { in MaybeCreateXNNPACKDelegate() 46 return TfLiteDelegatePtr(TfLiteXNNPackDelegateCreate(&opts), in MaybeCreateXNNPACKDelegate() 50 TfLiteDelegatePtr MaybeCreateXNNPACKDelegate(int num_threads) { in MaybeCreateXNNPACKDelegate()
|
D | interpreter_builder.cc | 152 TFLITE_ATTRIBUTE_WEAK Interpreter::TfLiteDelegatePtr AcquireFlexDelegate() { in AcquireFlexDelegate() 154 reinterpret_cast<Interpreter::TfLiteDelegatePtr (*)()>( in AcquireFlexDelegate() 181 reinterpret_cast<Interpreter::TfLiteDelegatePtr (*)()>( in AcquireFlexDelegate() 190 return Interpreter::TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in AcquireFlexDelegate() 646 if (Interpreter::TfLiteDelegatePtr flex_delegate = AcquireFlexDelegate()) { in ApplyDelegates()
|
/external/tensorflow/tensorflow/lite/tools/delegates/ |
D | coreml_delegate_provider.cc | 43 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 73 TfLiteDelegatePtr CoreMlDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 75 TfLiteDelegatePtr delegate(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate() 86 delegate = TfLiteDelegatePtr(TfLiteCoreMlDelegateCreate(&coreml_opts), in CreateTfLiteDelegate()
|
D | xnnpack_delegate_provider.cc | 33 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 51 TfLiteDelegatePtr XnnpackDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 57 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
|
D | external_delegate_provider.cc | 52 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 79 TfLiteDelegatePtr ExternalDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 81 TfLiteDelegatePtr delegate(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate() 112 return TfLiteDelegatePtr(external_delegate, [](TfLiteDelegate* delegate) { in CreateTfLiteDelegate()
|
D | default_execution_provider.cc | 37 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 67 TfLiteDelegatePtr DefaultExecutionProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 69 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
|
D | gpu_delegate_provider.cc | 56 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 107 TfLiteDelegatePtr GpuDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 109 TfLiteDelegatePtr delegate(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate() 156 delegate = TfLiteDelegatePtr(TFLGpuDelegateCreate(&gpu_opts), in CreateTfLiteDelegate()
|
D | hexagon_delegate_provider.cc | 48 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 81 TfLiteDelegatePtr HexagonDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 83 TfLiteDelegatePtr delegate(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
|
D | nnapi_delegate_provider.cc | 45 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 98 TfLiteDelegatePtr NnapiDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 100 TfLiteDelegatePtr delegate(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate() 173 return TfLiteDelegatePtr( in CreateTfLiteDelegate()
|
D | delegate_provider.h | 32 using TfLiteDelegatePtr = variable 49 virtual TfLiteDelegatePtr CreateTfLiteDelegate(
|
/external/tensorflow/tensorflow/lite/delegates/utils/dummy_delegate/ |
D | dummy_delegate_provider.cc | 34 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final; 52 TfLiteDelegatePtr DummyDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate() 58 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
D | hexagon_plugin.cc | 29 TfLiteDelegatePtr Create() override { in Create() 33 TfLiteDelegatePtr delegate(delegate_ptr, [](TfLiteDelegate* delegate) { in Create() 39 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in Create()
|
D | gpu_plugin.cc | 26 TfLiteDelegatePtr Create() override { in Create() 27 return TfLiteDelegatePtr(TfLiteGpuDelegateV2Create(&options_), in Create()
|
D | delegate_registry.h | 44 using TfLiteDelegatePtr = variable 49 virtual TfLiteDelegatePtr Create() = 0;
|
D | nnapi_plugin.h | 36 TfLiteDelegatePtr Create() override { in Create() 39 return TfLiteDelegatePtr( in Create()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_delegate_providers.h | 54 std::vector<tools::TfLiteDelegatePtr> CreateAllDelegates( 59 std::vector<tools::TfLiteDelegatePtr> CreateAllDelegates() const { in CreateAllDelegates()
|
D | test_delegate_providers.cc | 43 std::vector<tools::TfLiteDelegatePtr> 46 std::vector<tools::TfLiteDelegatePtr> delegates; in CreateAllDelegates()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/ |
D | hexagon_delegate_op_model.h | 51 delegate_ = Interpreter::TfLiteDelegatePtr( in ApplyDelegateAndInvoke() 80 Interpreter::TfLiteDelegatePtr delegate_;
|
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | tflite_inference_stage.h | 65 TfLiteStatus ApplyCustomDelegate(Interpreter::TfLiteDelegatePtr delegate); 83 std::vector<Interpreter::TfLiteDelegatePtr> delegates_;
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | label_image.cc | 62 using TfLiteDelegatePtr = tflite::Interpreter::TfLiteDelegatePtr; typedef 63 using TfLiteDelegatePtrMap = std::map<std::string, TfLiteDelegatePtr>; 115 TfLiteDelegatePtr CreateGPUDelegate(Settings* s) { in CreateGPUDelegate()
|
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/ |
D | test_util.h | 41 tflite::Interpreter::TfLiteDelegatePtr delegate_;
|