Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Fix wrong variable name "myOnnxSession" #176

Merged
merged 2 commits into from
May 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This is the most straightforward way to use ONNX.js. The following HTML example
// generate model input
const inferenceInputs = getInputs();
// execute the model
session.run(inferenceInputs).then((output) => {
myOnnxSession.run(inferenceInputs).then((output) => {
// consume the output
const outputTensor = output.values().next().value;
console.log(`model output tensor: ${outputTensor.data}.`);
Expand Down