onnxruntime/java/src
Adam Pocock 3c2a11f2f1
[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.
2023-06-05 09:58:50 -07:00
..
main [java] Allow the creation of boolean tensors from ByteBuffer (#15556) 2023-06-05 09:58:50 -07:00
test [java] Allow the creation of boolean tensors from ByteBuffer (#15556) 2023-06-05 09:58:50 -07:00