We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded4139 commit a7536b4Copy full SHA for a7536b4
hls4ml/backends/vivado/passes/convolution_templates.py
@@ -41,6 +41,8 @@
41
static const unsigned out_width = {out_width};
42
static const unsigned reuse_factor = {reuse};
43
static const unsigned n_zeros = {nzeros};
44
+ static const unsigned multiplier_limit =
45
+ DIV_ROUNDUP(kernel_size * n_chan * n_filt, reuse_factor) - n_zeros / reuse_factor;
46
static const bool store_weights_in_bram = false;
47
static const unsigned strategy = nnet::{strategy};
48
static const nnet::conv_implementation implementation = nnet::conv_implementation::{implementation};
0 commit comments