Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONNXRunTime support for Bool? #41

Open
dstarkenburg opened this issue Dec 12, 2024 · 2 comments
Open

ONNXRunTime support for Bool? #41

dstarkenburg opened this issue Dec 12, 2024 · 2 comments

Comments

@dstarkenburg
Copy link
Contributor

Hello!

I am trying to use ONNXRunTime to test a Julia implementation of an ONNX "And" layer in ONNX.jl. "And" takes two Boolean tensors as input then uses logical 'and' elementwise and returns a single Boolean tensor (source).

Unfortunately, unless I have coded my test set wrong, there is currently no implementation in ONNXRunTime.jl for tensor type bool (why is it commented out?).

This error was created during an ONNX test_set but might still provide relevant information:
image

Is there anything I can do to solve this issue? Will ONNXRunTime support the full range of datatypes at some point?

Best,
Duncan

@jw3126
Copy link
Owner

jw3126 commented Dec 12, 2024

Thanks! I forgot why exactly Bool is commented out, might be historic. Feel free to lift the comment and if you get stuck with errors ask for help.

@jw3126
Copy link
Owner

jw3126 commented Dec 12, 2024

Will ONNXRunTime support the full range of datatypes at some point?

Realistically it will support any use cases that somebody wants desperate enough to be willing to implement them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants