Skip to content
Snippets Groups Projects
Commit 721ef3fe authored by Akash Kothari's avatar Akash Kothari :speech_balloon:
Browse files

Fix the minor bug in multiplication of scaling factor for filter sampling

parent 77fab8ab
No related branches found
No related tags found
No related merge requests found
...@@ -378,7 +378,7 @@ void *tensorIrregularFilterSamplingConvolutionCPU( ...@@ -378,7 +378,7 @@ void *tensorIrregularFilterSamplingConvolutionCPU(
for (int f = 0; f < num_filters; f++) { for (int f = 0; f < num_filters; f++) {
for (int i = 0; i < start; i++) { for (int i = 0; i < start; i++) {
reduced_kernels[f * reduced_num_filter_elem + i] = reduced_kernels[f * reduced_num_filter_elem + i] =
host_filter[num_filter_elem * f + i]; fac * host_filter[num_filter_elem * f + i];
} }
#pragma omp simd #pragma omp simd
for (int i = start; i < reduced_num_filter_elem; i++) { for (int i = start; i < reduced_num_filter_elem; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment