microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
7b7e2a75e73a3648e5910e2c83b4d3c94a2e8d3b

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

java/README.md

27lines · modecode

1# ONNXRuntime-Extensions Java/Android API and Package
2
3This java and Android API and packaging principles were inspired by the https://github.com/microsoft/onnxruntime/tree/main/java, and openly share credits for API with the contributors in onnxruntime repo.
4
5<br />
6
7## Building
8
9<br />
10
11### Tools required
121. install visual studio 2022 (with cmake, git, desktop C++)
132. OpenJDK: https://docs.microsoft.com/en-us/java/openjdk/download
14 (OpenJDK 11.0.15 LTS)
153. Gradle: https://gradle.org/releases/
16 (v6.9.2)
17
18
19### Build command
20./build.sh **-DOCOS_BUILD_JAVA=ON**
21
22and find onnxruntime-extensions-0.5.0.jar at out/$OS/$CMake_BUILD_TYPE/java/build/libs
23
24<br />
25
26## Usage
27There is a Java example project checked in tutorial folder, [demo4j](../tutorials/demo4j) which provide a showcase how extensions package works with ONNXRuntime's Java API