Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc480 const char* device_name_ptr, in GetDeviceHandle() argument
482 if (!device_name_ptr) return kTfLiteError; in GetDeviceHandle()
484 std::string device_name(device_name_ptr); in GetDeviceHandle()
508 device_name_ptr, in GetDeviceHandle()
586 const char* device_name_ptr = delegate_options.accelerator_name; in ShouldUseTargetDevices() local
588 bool has_selected_accelerator = device_name_ptr != nullptr; in ShouldUseTargetDevices()
590 if (nnapi_cpu == device_name_ptr) return false; in ShouldUseTargetDevices()
617 const char* device_name_ptr = delegate_options.accelerator_name; in GetTargetDevices() local
619 if (device_name_ptr != nullptr) { in GetTargetDevices()
622 TF_LITE_ENSURE_STATUS(GetDeviceHandle(nnapi, context, device_name_ptr, in GetTargetDevices()