Skip to content

Commit 1918f94

Browse files
committed
iree/runtime/benchmark: fix: convert numpy.uint8 to ABI type i8
Signed-off-by: Florian Walbroel <walbroel@roofline.ai>
1 parent d7d4d0d commit 1918f94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runtime/bindings/python/iree/runtime/benchmark.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
numpy.dtype(numpy.int16): "i16",
4343
numpy.dtype(numpy.float16): "f16",
4444
numpy.dtype(numpy.int8): "i8",
45+
numpy.dtype(numpy.uint8): "i8",
4546
numpy.dtype(numpy.bool_): "i1",
4647
}
4748

0 commit comments

Comments
 (0)