From 9eade884ca7e358ded376d2fd76df8457c4c33f0 Mon Sep 17 00:00:00 2001 From: "Javier M. Duarte" Date: Tue, 13 Apr 2021 07:40:03 -0700 Subject: [PATCH] stride > kernel size --- hls4ml/templates/vivado/nnet_utils/nnet_conv2d_stream.h | 1 - 1 file changed, 1 deletion(-) diff --git a/hls4ml/templates/vivado/nnet_utils/nnet_conv2d_stream.h b/hls4ml/templates/vivado/nnet_utils/nnet_conv2d_stream.h index 8f365f11f3..1822025cd4 100644 --- a/hls4ml/templates/vivado/nnet_utils/nnet_conv2d_stream.h +++ b/hls4ml/templates/vivado/nnet_utils/nnet_conv2d_stream.h @@ -33,7 +33,6 @@ void conv_2d_cl( { assert(CONFIG_T::pad_top == 0 && CONFIG_T::pad_bottom == 0 && CONFIG_T::pad_left == 0 && CONFIG_T::pad_right == 0); assert(CONFIG_T::filt_height == CONFIG_T::filt_width); - assert(CONFIG_T::stride_height <= CONFIG_T::filt_height && CONFIG_T::stride_width <= CONFIG_T::filt_width); hls::stream data_window[CONFIG_T::filt_height * CONFIG_T::filt_width * CONFIG_T::n_chan]; const int win_depth = CONFIG_T::filt_height * CONFIG_T::out_width;