Skip to content

Vivado bit exact softmax #1225

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

calad0i
Copy link
Contributor

@calad0i calad0i commented Mar 11, 2025

Description

Allows for fine grained control of softmax definition for vivado (sizes/precision for the two tables, precision accumulator and normalized inputs and any other intermediate variable). Allows softmax over any axis for io_parallel (frontend support not added in this PR but presents for keras-v3 parser). Also addresses #1221

Type of change

For a new feature or function, please create an issue first to discuss it
with us before submitting a pull request.

Note: Please delete options that are not relevant.

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change which adds functionality)

Tests

Modified test/pytest/test_conv1d.py

Checklist

  • All, no doc

calad0i added 2 commits March 11, 2025 12:51
softmax fix

fix softmax parsing issue

ckpt

softmax fix

fix table size after overriding inv_inp_t
@calad0i calad0i added the please test Trigger testing by creating local PR branch label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please test Trigger testing by creating local PR branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant