Skip to content

Commit

Permalink
Fix #277 SyntaxError: missing ) error
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelem committed Sep 24, 2024
1 parent 229c4e2 commit f41315d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnotepad/js/nnotepad.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export class NNotepad {
}(tensor, 0));
const ctor = WebNNUtil.dataTypeToBufferType(dataType);
return `_.constant({dataType: "${dataType}", dimensions: ${
Util.stringify(shape)}}, shape: ${
Util.stringify(shape)}, shape: ${
Util.stringify(shape)}}, new ${ctor.name}([${
elements.map((n) => Util.stringifyNumber(n, dataType)).join(',')}]))`;
}
Expand Down

0 comments on commit f41315d

Please sign in to comment.