onnxruntime
3c2a11f2 - [java] Allow the creation of boolean tensors from ByteBuffer (#15556)

Commit
2 years ago
[java] Allow the creation of boolean tensors from ByteBuffer (#15556) ### Description The tensor creation code now allows the creation of boolean tensors from non-direct `ByteBuffer` instances. It previously only allowed them from arrays and direct `ByteBuffer` instances and this fixes that inconsistency. The boolean tensor test has been updated to cover all three cases. ### Motivation and Context Fixes #15509.
Author
Parents
Loading