hls4ml icon indicating copy to clipboard operation
hls4ml copied to clipboard

Addition of residual block support for pyg_to_hls

Open green-cabbage opened this issue 2 years ago • 0 comments

This is my first time submitting a pull request, let alone for work, so corrections are appreciated.

Description

  • I have added a custom block called residualBlock on top of existing nodeblock, edgeblock and edge_aggregate.
  • The nnet utils h file for this block is located on templates/vivado/nnet_utils/nnet_graph.h because I am implementing this on my group's GNN, but could more properly belong in templates/vivado/nnet_utils/nnet_merge.h
  • There's yet no dataflow/pipeline distinction for residualBlock. Mathmatically it's a simple operation so there may not be a need to.

Type of change

  • [x] New feature (non-breaking change which adds functionality)

green-cabbage avatar Aug 25 '22 17:08 green-cabbage