-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NodeJS type system doesn't define `float16`, so we don't currently have a way of detecting such arrays. In Python bindings we allow passing an additional string parameter together with `uint16` arrays to override the logical type for the missing `bfloat16`. In JS, for now, it's wiser to wait for the NAPI to define the missing `napi_typedarray_type` value. nodejs/node#55574 (comment) nodejs/node#52416 (comment)
- Loading branch information
1 parent
32f5496
commit 080e9d2
Showing
2 changed files
with
62 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters