Skip to content

Register layer attributes in VivadoAccelerator backend

Javier Duarte requested to merge github/fork/vloncar/lstm_static_fix into main

Created by: vloncar

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 (closed)

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Tests

Test from #722 (closed) should suffice.

Checklist

  • I have read the guidelines for contributing.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have installed and run pre-commit on the files I edited or added.
  • I have added tests that prove my fix is effective or that my feature works.

Merge request reports

Loading