Skip to content

Understanding ZYNQ project with standalone thresholds #380

Answered by maltanar
FrankHogervorst asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @FrankHogervorst , a bit of clarification around terminology first: in the FINN compiler standalone_thresholds actually refers to the threshold-based activations being implemented as a separate layer of its own instead of being part of the Matrix_Vector_Activate layer. In the stitched IP design you shared above, Thresholding_Batch_1 should be visible after the StreamingFCLayer_Batch_0. If you'd like runtime-configurable FC layer weights and thresholds, this is actually necessary as well.

I think what you are looking for is the runtime_writable_weights attribute for both StreamingFCLayer_Batch as well as Thresholding_Batch. Note that this also requires mem_mode="decoupled" for both. You…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FrankHogervorst
Comment options

Answer selected by FrankHogervorst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants