Skip to content

Conversation

@SpiritSeeker
Copy link

This PR adds support for elementwise functions (elementwise unary operations), allowing for easy extension to all hls math functions from HLS Math Library. The current PR adds support for ReLU, elementwise Exp, and elementwise Erf functions.

Status of tests:
✔️ ReLU - FLOAT32, FLOAT16, INT, FIXED (cppsim and rtlsim)
✔️ Exp and Erf - cppsim + FLOAT32
✔️ Exp - rtlsim: FLOAT32 and FLOAT16

✖️ Exp and Erf - cppsim + FLOAT16 (numpy and simulated results differ significantly)
✖️ Erf - rtlsim: FLOAT32 and FLOAT16 (RTL watchdog timeout error)

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