Home
last modified time | relevance | path

Searched refs:TfLiteDelegatePtr (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/lite/tools/evaluation/
Dutils.cc33 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 …]
Dutils.h50 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);
Devaluation_delegate_provider.h56 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,
Devaluation_delegate_provider.cc38 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/
Dtflite_with_xnnpack_optional.cc28 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()
Dinterpreter_builder.cc152 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/
Dcoreml_delegate_provider.cc43 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()
Dxnnpack_delegate_provider.cc33 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final;
51 TfLiteDelegatePtr XnnpackDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate()
57 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
Dexternal_delegate_provider.cc52 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()
Ddefault_execution_provider.cc37 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final;
67 TfLiteDelegatePtr DefaultExecutionProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate()
69 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
Dgpu_delegate_provider.cc56 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()
Dhexagon_delegate_provider.cc48 TfLiteDelegatePtr CreateTfLiteDelegate(const ToolParams& params) const final;
81 TfLiteDelegatePtr HexagonDelegateProvider::CreateTfLiteDelegate( in CreateTfLiteDelegate()
83 TfLiteDelegatePtr delegate(nullptr, [](TfLiteDelegate*) {}); in CreateTfLiteDelegate()
Dnnapi_delegate_provider.cc45 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()
Ddelegate_provider.h32 using TfLiteDelegatePtr = variable
49 virtual TfLiteDelegatePtr CreateTfLiteDelegate(
/external/tensorflow/tensorflow/lite/delegates/utils/dummy_delegate/
Ddummy_delegate_provider.cc34 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/
Dhexagon_plugin.cc29 TfLiteDelegatePtr Create() override { in Create()
33 TfLiteDelegatePtr delegate(delegate_ptr, [](TfLiteDelegate* delegate) { in Create()
39 return TfLiteDelegatePtr(nullptr, [](TfLiteDelegate*) {}); in Create()
Dgpu_plugin.cc26 TfLiteDelegatePtr Create() override { in Create()
27 return TfLiteDelegatePtr(TfLiteGpuDelegateV2Create(&options_), in Create()
Ddelegate_registry.h44 using TfLiteDelegatePtr = variable
49 virtual TfLiteDelegatePtr Create() = 0;
Dnnapi_plugin.h36 TfLiteDelegatePtr Create() override { in Create()
39 return TfLiteDelegatePtr( in Create()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_delegate_providers.h54 std::vector<tools::TfLiteDelegatePtr> CreateAllDelegates(
59 std::vector<tools::TfLiteDelegatePtr> CreateAllDelegates() const { in CreateAllDelegates()
Dtest_delegate_providers.cc43 std::vector<tools::TfLiteDelegatePtr>
46 std::vector<tools::TfLiteDelegatePtr> delegates; in CreateAllDelegates()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dhexagon_delegate_op_model.h51 delegate_ = Interpreter::TfLiteDelegatePtr( in ApplyDelegateAndInvoke()
80 Interpreter::TfLiteDelegatePtr delegate_;
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage.h65 TfLiteStatus ApplyCustomDelegate(Interpreter::TfLiteDelegatePtr delegate);
83 std::vector<Interpreter::TfLiteDelegatePtr> delegates_;
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc62 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/
Dtest_util.h41 tflite::Interpreter::TfLiteDelegatePtr delegate_;

12