fastmachinelearning / hls4ml

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

Adding "causal" as a padding type for Conv1D Keras layer #687

Closed cgutsche closed 1 year ago

cgutsche commented 1 year ago

Keras Conv1D Layer do support 3 types of padding: same, valid and causal. Causal padding is important if only events from the past of an input stream should influence the CNN output. In the current version of HLS4ML, this padding type is note implemented.