Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Drun_tflite.cpp73 BenchmarkModel* BenchmarkModel::create(const char* modelfile, int tfliteBackend, in create() argument
78 if (!model->init(modelfile, tfliteBackend, enable_intermediate_tensors_dump, nnapiErrno, in create()
80 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to init model %s", modelfile); in create()
87 bool BenchmarkModel::init(const char* modelfile, int tfliteBackend, in init() argument
92 modelfile); in init()
93 mModelFile = modelfile; in init()
104 mTfliteModel = tflite::FlatBufferModel::BuildFromFile(modelfile); in init()
106 std::ifstream t(modelfile); in init()
112 modelfile); in init()
153 modelfile, *nnapiErrno); in init()
Drun_tflite.h98 static BenchmarkModel* create(const char* modelfile, int tfliteBackend,
121 bool init(const char* modelfile, int tfliteBackend,