Skip to content

Commit

Permalink
stride > kernel size
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte committed Apr 18, 2021
1 parent fb2a0f4 commit 9eade88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hls4ml/templates/vivado/nnet_utils/nnet_conv2d_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<typename data_T::value_type> 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;
Expand Down

0 comments on commit 9eade88

Please sign in to comment.