From a57ba91854ae2cf7fa5e8b7afc073060e2458ba4 Mon Sep 17 00:00:00 2001 From: guschmue Date: Tue, 14 Feb 2023 12:46:07 -0800 Subject: [PATCH] rev ort-web to 1.14 --- js/api-usage_inference-session/package.json | 2 +- js/api-usage_tensor/package.json | 2 +- js/api-usage_tensor/tensor-properties.js | 2 +- js/quick-start_onnxruntime-node/package.json | 2 +- js/quick-start_onnxruntime-web-bundler/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/api-usage_inference-session/package.json b/js/api-usage_inference-session/package.json index ce606a735..d490085fa 100644 --- a/js/api-usage_inference-session/package.json +++ b/js/api-usage_inference-session/package.json @@ -5,6 +5,6 @@ "description": "This example is a demonstration of basic usage of InferenceSession.", "main": "index.js", "dependencies": { - "onnxruntime-node": "^1.8.0" + "onnxruntime-node": "^1.14.0" } } diff --git a/js/api-usage_tensor/package.json b/js/api-usage_tensor/package.json index d1e9a21b8..c85ea4cff 100644 --- a/js/api-usage_tensor/package.json +++ b/js/api-usage_tensor/package.json @@ -4,6 +4,6 @@ "version": "1.0.0", "description": "This example is a demonstration of basic usage of Tensor.", "dependencies": { - "onnxruntime-node": "^1.8.0" + "onnxruntime-node": "^1.14.0" } } diff --git a/js/api-usage_tensor/tensor-properties.js b/js/api-usage_tensor/tensor-properties.js index 39457df56..b382fdc79 100644 --- a/js/api-usage_tensor/tensor-properties.js +++ b/js/api-usage_tensor/tensor-properties.js @@ -30,7 +30,7 @@ function getMyTensors() { const buffer01 = new Float32Array(24).fill(1); return [ - new Tensor(new Tensor('float32', buffer01, [2, 3, 4])), + new Tensor('float32', buffer01, [2, 3, 4]), new Tensor('bool', [true], []), new Tensor('int32', [1, 2, 3, 4, 5, 6], [2, 3]) ]; diff --git a/js/quick-start_onnxruntime-node/package.json b/js/quick-start_onnxruntime-node/package.json index b40efb7d1..bb5f28905 100644 --- a/js/quick-start_onnxruntime-node/package.json +++ b/js/quick-start_onnxruntime-node/package.json @@ -5,6 +5,6 @@ "description": "This example is a demonstration of basic usage of ONNX Runtime Node.js binding.", "main": "index.js", "dependencies": { - "onnxruntime-node": "^1.8.0" + "onnxruntime-node": "^1.14.0" } } diff --git a/js/quick-start_onnxruntime-web-bundler/package.json b/js/quick-start_onnxruntime-web-bundler/package.json index e9ae6af5a..661dbfba5 100644 --- a/js/quick-start_onnxruntime-web-bundler/package.json +++ b/js/quick-start_onnxruntime-web-bundler/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "description": "This example is a demonstration of basic usage of ONNX Runtime Web using a bundler.", "dependencies": { - "onnxruntime-web": "^1.8.0" + "onnxruntime-web": "^1.14.0" }, "devDependencies": { "copy-webpack-plugin": "^8.1.1",