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

Remove the in/out size from top function #559

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

vloncar
Copy link
Contributor

@vloncar vloncar commented May 31, 2022

The size of input and output that is part of the top function is never used and can be removed. Since the data type used is short large models emit warnings. #543 suggested a fix, but after some thought, we should get rid of this feature altogether.

Basically, instead of myproject(input_t input_1, result_t result, unsigned short &const_size_in_1, unsigned short &const_size_out_1), we do myproject(input_t input_1, result_t result).

@vloncar vloncar requested a review from jmduarte May 31, 2022 18:50
Copy link
Member

@jmduarte jmduarte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ran tests and locally and it looks good to me!

@jmduarte jmduarte merged commit 0030e54 into fastmachinelearning:master Jun 17, 2022
@vloncar vloncar deleted the remove_io_size branch March 5, 2023 17:42
calad0i pushed a commit to calad0i/hls4ml that referenced this pull request Jul 1, 2023
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.

2 participants