Skip to content

Commit

Permalink
revised cast.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mei1127 committed Dec 21, 2023
1 parent ca639b5 commit c0eacc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cast.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export function cast(input, type) {
outputArray = new Float64Array(input.data);
break;
case 'float16':
// todo
// TODO: https://github.com/webmachinelearning/webnn-baseline/issues/66
throw new Error('Unsupported output type: float16' );
case 'uint64':
// todo
// TODO: https://github.com/webmachinelearning/webnn-baseline/issues/67
throw new Error('Unsupported output type: uint64' );
default:
throw new Error('Unsupported output type: ' + type);
Expand Down

0 comments on commit c0eacc2

Please sign in to comment.