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

Boolean inputs get mapped to F32 when converting to TypedModel #1169

Closed
kali opened this issue Aug 25, 2023 Discussed in #1161 · 0 comments · Fixed by #1168
Closed

Boolean inputs get mapped to F32 when converting to TypedModel #1169

kali opened this issue Aug 25, 2023 Discussed in #1161 · 0 comments · Fixed by #1168

Comments

@kali
Copy link
Collaborator

kali commented Aug 25, 2023

Discussed in #1161

Originally posted by alexander-camuto August 23, 2023
Boolean inputs in ONNX get mapped to F32 TypedSource nodes in tract.

I was wondering if this was intentional behaviour.

To replicate this you can run the tract CLI on the following graph composed solely of boolean inputs and AND | OR | XOR | EQUALS operations:

boolean.onnx.zip

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

Successfully merging a pull request may close this issue.

1 participant