Skip to content

Commit 97ad08c

Browse files
committed
Put optimizers from extras flow to their proper place (in Quartus + Catapult)
1 parent 66c0750 commit 97ad08c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

hls4ml/backends/catapult/catapult_backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def _register_flows(self):
111111
'catapult:inplace_stream_flatten',
112112
'catapult:skip_softmax',
113113
'catapult:fix_softmax_table_size',
114+
'catapult:process_fixed_point_quantizer_layer',
114115
'infer_precision_types',
115116
]
116117
optimization_flow = register_flow('optimize', optimization_passes, requires=[init_flow], backend=self.name)
@@ -121,6 +122,7 @@ def _register_flows(self):
121122
'catapult:generate_conv_streaming_instructions',
122123
'catapult:apply_resource_strategy',
123124
'catapult:generate_conv_im2col',
125+
'catapult:apply_winograd_kernel_transformation',
124126
]
125127
catapult_types_flow = register_flow('specific_types', catapult_types, requires=[init_flow], backend=self.name)
126128

hls4ml/backends/quartus/quartus_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def _register_flows(self):
5555
'quartus:transform_types',
5656
'quartus:register_bram_weights',
5757
'quartus:apply_resource_strategy',
58+
'quartus:generate_conv_im2col',
5859
'quartus:apply_winograd_kernel_transformation',
5960
]
6061
quartus_types_flow = register_flow('specific_types', quartus_types, requires=[init_flow], backend=self.name)

0 commit comments

Comments
 (0)