Skip to content

Fix parsing of ZeroPadding layers #595

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

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

vloncar
Copy link
Contributor

@vloncar vloncar commented Jul 11, 2022

Description

Fixes parsing of ZeroPadding1D/2D layers. These layers expect the input height/width to be specified. When we insert these layers to support the "same" padding of Conv1D/2D layers we properly set these values, but when parsing a Keras model that has these layers we didn't do that

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Tests

A test of ZeroPadding1D/2D layer functionality is included.

@thesps thesps merged commit aeda609 into fastmachinelearning:master Jul 12, 2022
calad0i pushed a commit to calad0i/hls4ml that referenced this pull request Jul 1, 2023
* Include height/width of ZeroPadding1D/2D layers when parsing

* Test case for ZeroPadding1D/2D
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