Minor naming change
This commit is contained in:
parent
b97023504c
commit
98cfe32972
tensorflow/lite/c
@ -123,7 +123,7 @@ TfLiteInterpreter* TfLiteInterpreterCreate(
|
||||
}
|
||||
|
||||
if (optional_options) {
|
||||
interpreter->UseNNAPI(optional_options->useNNAPI);
|
||||
interpreter->UseNNAPI(optional_options->use_nnapi);
|
||||
|
||||
if (optional_options->num_threads !=
|
||||
TfLiteInterpreterOptions::kDefaultNumThreads) {
|
||||
|
@ -52,7 +52,7 @@ void TfLiteInterpreterOptionsAddCustomOp(TfLiteInterpreterOptions* options,
|
||||
|
||||
void TfLiteInterpreterOptionsSetUseNNAPI(TfLiteInterpreterOptions* options,
|
||||
bool enable) {
|
||||
options->useNNAPI = enable;
|
||||
options->use_nnapi = enable;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -50,7 +50,7 @@ struct TfLiteInterpreterOptions {
|
||||
|
||||
std::vector<TfLiteDelegate*> delegates;
|
||||
|
||||
bool useNNAPI = false;
|
||||
bool use_nnapi = false;
|
||||
};
|
||||
|
||||
struct TfLiteInterpreter {
|
||||
|
Loading…
Reference in New Issue
Block a user