fastmachinelearning / hls4ml

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

Keras v3 Support #1116

Open calad0i opened 2 weeks ago

calad0i commented 2 weeks ago

A# Description

Add keras v3 specific object-based parser and some layer handlers (no h5 or json loading supported). The current keras parser doesn't work with v3 functional models in general. This PR depends on #1094 , and the test added relies on #1101 .

Type of change

Tests

test/pytest/test_keras_v3_api.py

Test Configuration:

Requires keras>=3.0. Skips the whole module if this requirement is not sufficed.

Checklist

calad0i commented 2 weeks ago

This PR will be rebased after its prerequisites are merged to resolve the conflicts.