From b9dfe4565f093e69a5e0c5e43e9e1366bb62044b Mon Sep 17 00:00:00 2001 From: Faith Xu Date: Mon, 22 Jun 2020 11:34:19 -0700 Subject: [PATCH] add java and nodejs pkg links (#4270) * add java and nodejs pkg links * add Gradle text --- index.html | 1 + js/script.js | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 36200c71a4..25452d6a68 100644 --- a/index.html +++ b/index.html @@ -183,6 +183,7 @@
C#
C
Java
+
Javascript (Node.js)
WinRT
diff --git a/js/script.js b/js/script.js index bf1911e91f..c91b9e0028 100644 --- a/js/script.js +++ b/js/script.js @@ -856,14 +856,19 @@ function commandMessage(key) { "This combination of resources has not yet been tested. It may be possible to build from source.", "linux,Java,X64,DefaultCPU": - "Follow build and API instructions", + "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle", "linux,Java,X64,CUDA": - "Follow build and API instructions", + "Add a dependency on com.microsoft.onnxruntime:onnxruntime_gpu using Maven/Gradle", - "mac,Java,X64,DefaultCPU": - "Follow build and API instructions", + "linux,Javascript,X64,DefaultCPU": + "npm install onnxruntime", + + "mac,Java,X64,DefaultCPU": + "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle", + "mac,Javascript,X64,DefaultCPU": + "npm install onnxruntime", "windows,WinRT,X86,DefaultCPU": "Install Nuget package Microsoft.AI.MachineLearning", @@ -884,10 +889,10 @@ function commandMessage(key) { "Install Nuget package Microsoft.AI.MachineLearning", "windows,Java,X64,DefaultCPU": - "Follow build and API instructions", + "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle", "windows,Java,X64,CUDA": - "Follow build and API instructions", + "Add a dependency on com.microsoft.onnxruntime:onnxruntime_gpu using Maven/Gradle", "windows,Java,X64,TensorRT": "Follow build and API instructions", @@ -924,6 +929,10 @@ function commandMessage(key) { "linux,Java,X64,OpenVINO": "Follow build and API instructions", + + "windows,Javascript,X64,DefaultCPU": + "npm install onnxruntime", + };