Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dutils.h30 namespace tflite {
35 …std::unique_ptr<tflite::Interpreter>& interpreter, std::map<int, std::vector<int>>& neededInputSha…
36 bool IsEqualShape(int tensorIndex, const std::vector<int>& dim, std::unique_ptr<tflite::Interpreter…
38 void PrintResult(std::unique_ptr<tflite::Interpreter>& interpreter);
39 void AnalysisResults(Settings& settings, std::unique_ptr<tflite::Interpreter>& interpreter);
40 void ImportData(Settings& settings, std::vector<int>& imageSize, std::unique_ptr<tflite::Interprete…
H A Dutils.cpp26 namespace tflite { namespace
80 TfLiteStatus FilterDynamicInputs(Settings& settings, std::unique_ptr<tflite::Interpreter>& interpre… in FilterDynamicInputs()
131 void PrintResult(std::unique_ptr<tflite::Interpreter>& interpreter) in PrintResult()
163 void AnalysisResults(Settings& settings, std::unique_ptr<tflite::Interpreter>& interpreter) in AnalysisResults()
214 void ImportData(Settings& settings, std::vector<int>& imageSize, std::unique_ptr<tflite::Interprete… in ImportData()
256 bool IsEqualShape(int tensorIndex, const std::vector<int>& dims, std::unique_ptr<tflite::Interprete… in IsEqualShape()
H A Dlog.h22 namespace tflite {
42 #define LOG(severity) tflite::label_classify::Log(#severity).Stream()
H A Dget_topn.h25 namespace tflite {
H A Dbitmap_helpers.h27 namespace tflite {
H A Dbitmap_helpers.cpp23 namespace tflite { namespace
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/
H A Dlabel_classify.cpp45 namespace tflite { namespace
47 using TfLiteDelegatePtr = tflite::Interpreter::TfLiteDelegatePtr;
48 using ProvidedDelegateList = tflite::tools::ProvidedDelegateList;
79 std::vector<tflite::Flag> flags; in InitFromCmdlineArgs()
109 tflite::tools::ToolParams params;
201 std::unique_ptr<tflite::FlatBufferModel> model; in InferenceModel()
202 std::unique_ptr<tflite::Interpreter> interpreter; in InferenceModel()
203 model = tflite::FlatBufferModel::BuildFromFile(settings.modelName.c_str()); in InferenceModel()
211 tflite::ops::builtin::BuiltinOpResolver resolver; in InferenceModel()
212 tflite::InterpreterBuilder(*model, resolver)(&interpreter); in InferenceModel()
[all …]
H A Dlabel_classify.h25 namespace tflite {
28 tflite::FlatBufferModel* model;
H A DCMakeLists.txt18 set(TOOLS_INC ${LOCAL_DIRECTORY_PATH}/tflite/tools)
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/
H A DCMakeLists.txt16 set(NNRT_INTERFACE_HOME ${LOCAL_DIRECTORY_PATH}/tflite/nnrt)
17 set(NNRT_DELEGATE_HOME ${LOCAL_DIRECTORY_PATH}/tflite/delegates/nnrt_delegate)
18 set(NNRT_DEMO_HOME ${LOCAL_DIRECTORY_PATH}/tflite/label_classify)
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/
H A DREADME_zh.md54 …图编译。其中,支持在NNRtDelegate上运行的node会调用NnrtDelegateKernel的prepare接口完成编译,不支持的会调用tflite operation kernels的…
98 …y-sig/neural_network_runtime/blob/master/example/deep_learning_framework/tflite/delegates/nnrt_del…
249 # 修改```tflite/CMakeLists.txt```
260 # 修改```tflite/CMakeLists.txt```
301 …sify,libneural_network_runtime.z.so、tensorflow-lite.so及其依赖的库、mobilenetv2.tflite模型、标签labels.txt、测试图…
321 # 执行demo,-m tflite模型, -i 测试图片, -l 数据标签, -a 1表示使用nnrt, 0表示不使用nnrt推理,-z 1 表示打印输出张量大小的结果
322 ./label_classify -m mobilenetv2.tflite -i grace_hopper.bmp -l labels.txt -a 1 -z 1
H A DCMakeLists.txt28 add_subdirectory(${LOCAL_DIRECTORY_PATH}/tflite)
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_delegate.h29 namespace tflite {
36 using tflite::delegate::nnrt::NnrtDelegateKernel;
H A DCMakeLists.txt22 set(TOOLS_INC ${LOCAL_DIRECTORY_PATH}/tflite/tools)
H A Dnnrt_delegate_kernel.h26 namespace tflite {
H A Dnnrt_delegate.cpp25 namespace tflite { namespace
245 if (tflite::IsUseTargetDevice(delegateOptions)) { in CheckDeviceValid()
H A Dnnrt_utils.h25 namespace tflite {
H A Dnnrt_delegate_kernel.cpp39 namespace tflite { namespace
81 TF_LITE_ENSURE_STATUS(tflite::GetTargetDevice(context, params->delegate, m_nnrt, m_nnrtDevice)); in Init()
H A Dtensor_mapping.h24 namespace tflite {
H A Dnnrt_delegate_provider.cpp24 namespace tflite { namespace
H A Dnnrt_op_builder.h29 namespace tflite {
H A Dnnrt_utils.cpp27 namespace tflite { namespace
H A Dnnrt_op_builder.cpp27 namespace tflite { namespace
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.cpp26 namespace tflite { namespace
H A Dnnrt_implementation.h28 namespace tflite {