Skip to content

Latest commit

 

History

History

quick-start_onnxruntime-node

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Quick Start - Nodejs Binding

This example is a demonstration of basic usage of ONNX Runtime Node.js binding.

This example contians a package.json file, which already lists "onnxruntime-node" as dependency. To work on your own package.json, use command npm install onnxruntime-node to install ONNX Runtime Node.js binding.

In this example, we load onnxruntime, create an inference session with a simple model, feed input, get output as result and write it to standard output. All functions are called in their basic form.

Usage

npm install
node .