You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library supports the following NumPy data types:
72
-
-`int8`, `uint8`
73
-
-`int16`, `uint16`
74
-
-`int32`, `uint32`
75
-
-`int64`, `uint64` (as BigInt)
76
-
-`float32`
77
-
-`float64`
78
-
-`float16` (converted to float32 by default)
73
+
74
+
-`int8`, `uint8`
75
+
-`int16`, `uint16`
76
+
-`int32`, `uint32`
77
+
-`int64`, `uint64` (as BigInt)
78
+
-`float32`
79
+
-`float64`
80
+
-`float16` (converted to float32 by default)
79
81
80
82
### Float16 Support
83
+
81
84
By default, float16 arrays are automatically converted to float32 for compatibility, since JavaScript doesn't natively support float16. You can control this behavior with the constructor options:
85
+
82
86
```javascript
83
87
// Default behavior - float16 is converted to float32
0 commit comments