File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hls4ml/templates/vivado/nnet_utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ void compute_output_buffer_2d(
260
260
hls::stream<res_T> &res_stream,
261
261
typename CONFIG_T::weight_t weights[CONFIG_T::kernel_size * CONFIG_T::n_chan * CONFIG_T::n_filt],
262
262
typename CONFIG_T::bias_t biases[CONFIG_T::n_filt]) {
263
- #pragma HLS INLINE
263
+ #pragma HLS INLINE OFF
264
264
265
265
// Thresholds
266
266
const static int lShiftX = CONFIG_T::filt_width - 1 ;
@@ -289,7 +289,7 @@ void compute_output_buffer_2d(
289
289
if ((sX - lShiftX) == 0 && (sY - lShiftY) == 0 && pY > lShiftY - 1 && pX > lShiftX - 1 ) {
290
290
291
291
// Dense multiply
292
- #pragma HLS INLINE recursive
292
+ // #pragma HLS INLINE recursive
293
293
if (CONFIG_T::strategy == nnet::latency) {
294
294
dense_latency<typename data_T::value_type, typename res_T::value_type, typename CONFIG_T::mult_config>(
295
295
kernel_data, res_out, weights, biases);
You can’t perform that action at this time.
0 commit comments