fastmachinelearning / hls4ml

Machine learning on FPGAs using HLS
https://fastmachinelearning.org/hls4ml
Apache License 2.0
1.19k stars 390 forks source link

Register layer attributes in VivadoAccelerator backend #724

Closed vloncar closed 1 year ago

vloncar commented 1 year ago

Description

VivadoAccelerator backend doesn't call _register_layer_attributes() so the layers with backend-specific attributes don't get extended as with the Vivado backend. This means the layers that expect some default values don't get them, causing conversion issues. Fixes #722

Type of change

Tests

Test from #722 should suffice.

Checklist