MVN

com.microsoft.onnxruntime : onnxruntime-android

Maven & Gradle

Jun 16, 2023
12.6k stars

onnx-runtime · ONNX Runtime is a performance-focused inference engine for ONNX (Open Neural Network Exchange) models. This package contains the Android (aar) build of ONNX Runtime. It includes support for all types and operators, for ONNX format models. All standard ONNX models can be executed with this package. As such the binary size and memory usage will be larger than the onnxruntime-mobile package.

<dependency>
    <groupId>com.microsoft.onnxruntime</groupId>
    <artifactId>onnxruntime-android</artifactId>
    <version>1.15.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.microsoft.onnxruntime : onnxruntime-android to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.15.1

All Versions

Choose a version of com.microsoft.onnxruntime : onnxruntime-android to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.15.x
onnxruntime-android-1.15.1
onnxruntime-android-1.15.0
1.14.x
onnxruntime-android-1.14.0
1.13.x
onnxruntime-android-1.13.1
1.12.x
onnxruntime-android-1.12.1
onnxruntime-android-1.12.0
1.11.x
onnxruntime-android-1.11.0

How to add a dependency to Maven

Add the following com.microsoft.onnxruntime : onnxruntime-android maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.microsoft.onnxruntime</groupId>
    <artifactId>onnxruntime-android</artifactId>
    <version>1.15.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.microsoft.onnxruntime : onnxruntime-android gradle dependency to your build.gradle file:

implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.15.1'

Gradle Kotlin DSL: Add the following com.microsoft.onnxruntime : onnxruntime-android gradle kotlin dependency to your build.gradle.kts file:

implementation("com.microsoft.onnxruntime:onnxruntime-android:1.15.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.microsoft.onnxruntime : onnxruntime-android sbt scala dependency to your build.sbt file:

libraryDependencies += "com.microsoft.onnxruntime" % "onnxruntime-android" % "1.15.1"