Skip to content

Conversation

@SpiritSeeker
Copy link

@SpiritSeeker SpiritSeeker commented Sep 16, 2025

Enable FP16 support for thresholding layers. The following changes are made

  • npy data type for storing inputs and thresholds can now be float16 or float32 instead of default float32
    • changes are specific to thresholding RTL and HLS
  • npy2apintstream now supports half datatype (updated cnpy dependency)
    • changes effect all custom ops
  • new test with float16 inputs and thresholds

Enable FP16 support for elementwise layers. The following changes are made

  • enable storage of inputs and outputs as half
    • changes in HLS backend, elementwise HLS, and data packing
  • new test with float16 inputs

@SpiritSeeker SpiritSeeker changed the title Enable FP16 thresholding Enable FP16 thresholding and elementwise ops Sep 19, 2025
@auphelia
Copy link
Collaborator

Thank you, @SpiritSeeker !

@auphelia auphelia merged commit f766b43 into Xilinx:dev Sep 23, 2025
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.

2 participants