Created
September 1, 2019 15:48
-
-
Save naxty/a9e7d7d90c7e22259c8b6c3e66213696 to your computer and use it in GitHub Desktop.
Inference with ONNX.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const session = new onnx.InferenceSession(); | |
await session.loadModel("model.onnx"); | |
const prediction = await session.run([inputTensor]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment