This commit is contained in:
wejoncy 2023-03-08 09:20:50 +08:00 committed by JiCheng
parent fdc970a40d
commit d70b5b38e2

View file

@ -33,7 +33,7 @@ enum class TargetDeviceOption : int8_t {
CPU_ONLY, // use CPU only
};
const char* const kNnapiCpuDeviceName = ("nnapi-reference");
constexpr const char* const kNnapiCpuDeviceName = "nnapi-reference";
/** How feature level works for NNAPI. refer to https://developer.android.com/ndk/reference/group/neural-networks
*