Skip to content
This repository was archived by the owner on Jun 4, 2021. It is now read-only.

Commit 24fea99

Browse files
committedFeb 25, 2019
update build
1 parent d48828e commit 24fea99

14 files changed

+1349
-60
lines changed
 

‎.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
/build/
33
/bin/
44

5-
/binding.js
6-
/inference-session-override.js
5+
/lib/*.js
6+
/scripts/*.js
7+
/test/*.js

‎.gitmodules

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "data"]
2-
path = data
3-
url = https://github.com/Microsoft/onnxjs-demo
4-
[submodule "onnxjs"]
5-
path = onnxjs
6-
url = https://github.com/Microsoft/onnxjs.git
1+
[submodule "deps/onnx"]
2+
path = deps/onnx
3+
url = https://github.com/onnx/onnx.git

‎data

-1
This file was deleted.

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const onnxjs = require('onnxjs');
2-
onnxjs.InferenceSession = require('./inference-session-override').OnnxRuntimeInferenceSession;
2+
onnxjs.InferenceSession = require('./lib/inference-session-override').OnnxRuntimeInferenceSession;
33

44
// Work items for future:
55
//

‎binding.ts renamed to ‎lib/binding.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export interface InferenceSessionConstructor {
1717
new(): InferenceSession;
1818
}
1919

20-
export const binding = require('./bin/onnxruntime.node') as { InferenceSession: InferenceSessionConstructor };
20+
export const binding = require('../bin/onnxruntime.node') as { InferenceSession: InferenceSessionConstructor };
File renamed without changes.

‎onnxjs

-1
This file was deleted.

0 commit comments

Comments
 (0)
This repository has been archived.