Skip to content

Commit ffa43f2

Browse files
committed
Update DataTypeMap with 4-bit data types
1 parent 293e378 commit ffa43f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/tensor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ const DataTypeMap = Object.freeze({
3232
int64: BigInt64Array,
3333
uint64: BigUint64Array,
3434
bool: Uint8Array,
35+
uint4: Uint8Array,
36+
int4: Int8Array,
3537
});
3638

3739
/**

0 commit comments

Comments
 (0)