提交 3ba0450c 编写于 作者: Z zhangyang

correct align_filter function mistake for FPGA track

上级 ef0f63b4
......@@ -73,7 +73,7 @@ void convert_to_hwc(float **data_in, int num, int channel, int height,
void align_filter(float **data_in, int num, int channel, int height,
int width) {
int aligned_channel = calc_channel_parallelism(channel);
int aligned_channel = calc_aligned_channel(channel);
int hw = height * width;
int pixel_num = calc_aligned_total_pixel_num(num, channel, height, width);
float *new_data = (float *)fpga_malloc(pixel_num * sizeof(float)); // NOLINT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册