This example is a demonstration of basic usage of InferenceSession.
inference-session-create.js: In this example, we createInferenceSessionin different ways.inference-session-properties.js: In this example, we get input/output names from anInferenceSessionobject.inference-session-run.js: In this example, we run the model inferencing in different ways.
For more information about SessionOptions and RunOptions, please refer to other examples.
See also InferenceSession.create and InferenceSession interface in API reference document.
npm install
node ./inference-session-create.js
node ./inference-session-properties.js
node ./inference-session-run.js