Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Drun_tflite.cpp143 tflite::StatefulNnApiDelegate::Options nnapi_options; in init() local
144 nnapi_options.accelerator_name = nnapi_device_name; in init()
145 mTfliteNnapiDelegate = std::make_unique<tflite::StatefulNnApiDelegate>(nnapi_options); in init()
398 tflite::StatefulNnApiDelegate::Options nnapi_options; in runCompilation() local
399 nnapi_options.accelerator_name = mNnApiDeviceName.empty() ? nullptr : mNnApiDeviceName.c_str(); in runCompilation()
401 nnapi_options.cache_dir = cacheDir; in runCompilation()
402 nnapi_options.model_token = mModelFile.c_str(); in runCompilation()
404 tflite::StatefulNnApiDelegate delegate(nnapi_options); in runCompilation()