Home
last modified time | relevance | path

Searched refs:modelfile (Results 1 – 2 of 2) sorted by relevance

/test/mlts/benchmark/jni/
Drun_tflite.cpp101 BenchmarkModel* BenchmarkModel::create(const char* modelfile, int tfliteBackend, in create() argument
107 if (!model->init(modelfile, tfliteBackend, enable_intermediate_tensors_dump, nnapiErrno, in create()
109 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to init model %s", modelfile); in create()
116 bool BenchmarkModel::init(const char* modelfile, int tfliteBackend, in init() argument
122 modelfile); in init()
123 mModelFile = modelfile; in init()
134 mTfliteModel = tflite::FlatBufferModel::BuildFromFile(modelfile); in init()
136 std::ifstream t(modelfile); in init()
142 modelfile); in init()
195 nnapi_device_name, modelfile, nnapiPartitions); in init()
[all …]
Drun_tflite.h99 static BenchmarkModel* create(const char* modelfile, int tfliteBackend,
126 bool init(const char* modelfile, int tfliteBackend,