Skip to content

Commit e1bf133

Browse files
sapphi-redNikhil Thorat
authored andcommitted
[wasm] Fix a typo in an error message for typedArrayFromBuffer. (tensorflow#2527)
DOC
1 parent 46da687 commit e1bf133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tfjs-backend-wasm/src/backend_wasm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,6 @@ function typedArrayFromBuffer(
212212
case 'bool':
213213
return new Uint8Array(buffer);
214214
default:
215-
throw new Error(`Uknown dtype ${dtype}`);
215+
throw new Error(`Unknown dtype ${dtype}`);
216216
}
217217
}

0 commit comments

Comments
 (0)