mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
amend
This commit is contained in:
parent
5fe61c53a3
commit
8aeed1e87d
2 changed files with 1 additions and 4 deletions
|
|
@ -32,6 +32,7 @@ limitations under the License.
|
|||
#define NNAPI_LOG(format, ...) fprintf(stderr, format "\n", __VA_ARGS__);
|
||||
|
||||
namespace {
|
||||
|
||||
#ifdef __ANDROID__
|
||||
int32_t GetAndroidSdkVersion() {
|
||||
const char* sdkProp = "ro.build.version.sdk";
|
||||
|
|
|
|||
|
|
@ -239,11 +239,7 @@ const NnApi LoadNnApi() {
|
|||
}
|
||||
} // namespace
|
||||
|
||||
namespace onnxruntime {
|
||||
namespace nnapi {
|
||||
const NnApi* NnApiImplementation() {
|
||||
static const NnApi nnapi = LoadNnApi();
|
||||
return &nnapi;
|
||||
}
|
||||
} // namespace nnapi
|
||||
} // namespace onnxruntime
|
||||
|
|
|
|||
Loading…
Reference in a new issue