diff --git a/src/fpga/bias_scale.cpp b/src/fpga/bias_scale.cpp index 23889d5b1fee3d8cb9e4673f42b18574366411eb..50f1ed03f0121b5afdc41d427e5b52675994bd1e 100644 --- a/src/fpga/bias_scale.cpp +++ b/src/fpga/bias_scale.cpp @@ -27,9 +27,6 @@ void align_element(float **data_in, int num_per_div_before_alignment, int num) { (num + num_per_div_before_alignment - 1) / num_per_div_before_alignment; int num_per_div_after_alignment = align_to_x(num_per_div_before_alignment, BS_NUM_ALIGNMENT); - if (num_per_div_before_alignment == num_per_div_after_alignment) { - return; - } int num_element = 2 * div_num * num_per_div_after_alignment; // including bias & scale float *ptr_aligned =