mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Add links to custom Android/iOS package instructions to increase discoverability. (#12431)
This commit is contained in:
parent
0059cdcc5e
commit
3535b56700
3 changed files with 18 additions and 2 deletions
6
docs/build/android.md
vendored
6
docs/build/android.md
vendored
|
|
@ -131,4 +131,8 @@ Android NNAPI Execution Provider can be built using building commands in [Androi
|
|||
|
||||
## Test Android changes using emulator
|
||||
|
||||
See [Testing Android Changes using the Emulator](https://github.com/microsoft/onnxruntime/blob/master/docs/Android_testing.md).
|
||||
See [Testing Android Changes using the Emulator](https://github.com/microsoft/onnxruntime/blob/master/docs/Android_testing.md).
|
||||
|
||||
## Building a Custom Android Package
|
||||
|
||||
Refer to the documentation for [custom builds](./custom.md). In particular, see the section about the [Android Package](./custom.md#android).
|
||||
|
|
|
|||
6
docs/build/ios.md
vendored
6
docs/build/ios.md
vendored
|
|
@ -67,4 +67,8 @@ If you want to use CoreML Execution Provider on iOS or macOS, see [CoreML Execut
|
|||
|
||||
#### Build Instructions
|
||||
|
||||
CoreML Execution Provider can be built using building commands in [iOS Build instructions](#build-instructions-1) with `--use_coreml`
|
||||
CoreML Execution Provider can be built using building commands in [iOS Build instructions](#build-instructions-1) with `--use_coreml`
|
||||
|
||||
## Building a Custom iOS Package
|
||||
|
||||
Refer to the documentation for [custom builds](./custom.md). In particular, see the section about the [iOS Package](./custom.md#ios).
|
||||
|
|
|
|||
|
|
@ -133,6 +133,10 @@ In your CocoaPods `Podfile`, add the `onnxruntime-c`, `onnxruntime-mobile-c`, `o
|
|||
|
||||
Run `pod install`.
|
||||
|
||||
#### Custom build
|
||||
|
||||
Refer to the instructions for creating a [custom iOS package](../build/custom.md#ios).
|
||||
|
||||
### Install on Android
|
||||
|
||||
#### Java/Kotlin
|
||||
|
|
@ -161,6 +165,10 @@ In your Android Studio Project, make the following changes to:
|
|||
|
||||
Download the [onnxruntime-android](https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-android) (full package) or [onnxruntime-mobile](https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-mobile) (mobile package) AAR hosted at MavenCentral, change the file extension from `.aar` to `.zip`, and unzip it. Include the header files from the `headers` folder, and the relevant `libonnxruntime.so` dynamic library from the `jni` folder in your NDK project.
|
||||
|
||||
#### Custom build
|
||||
|
||||
Refer to the instructions for creating a [custom Android package](../build/custom.md#android).
|
||||
|
||||
## ORT Training package
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue