Skip to content

Conversation

@LinusJungemann
Copy link
Contributor

@LinusJungemann LinusJungemann commented Jan 22, 2026

Add type hints to a range of basic qonnx classes so that Pythons automatic type hinting works for the majority of FINN/FINN+ code.

Additionally, this fixes some edge cases for FLOAT32/FLOAT16, where the allowed method of a DataType returns a bool instead of a numpy array of bools, which can cause crashes in some cases if an array is expected as an output type like for all other datatypes.
For this reason I also augmented the datatype tests to test for this case.

@iksnagreb iksnagreb added this to the v1.0.0 milestone Jan 23, 2026
@jmitrevs jmitrevs merged commit 329ed94 into fastmachinelearning:main Feb 6, 2026
2 checks passed
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 this pull request may close these issues.

3 participants