Skip to content

Commit

Permalink
Update onnx.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Jun 29, 2024
1 parent ab7083a commit 5460f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/onnx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ onnx.JsonReader = class {
value.int64_data = value.int64Data.map((value) => parseInt(value, 10));
delete value.int64Data;
} else {
throw new onnx.Error(`Unsupported ONNX JSON tensor data '${JSON.stringify(value.data_type)}.`);
throw new onnx.Error(`Unsupported ONNX JSON tensor data type '${JSON.stringify(value.data_type)}'.`);
}
return value;
};
Expand Down

0 comments on commit 5460f33

Please sign in to comment.