We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9168acc commit adb2f53Copy full SHA for adb2f53
1 file changed
src/runtime/NEON/functions/NEDeconvolutionLayer.cpp
@@ -92,7 +92,7 @@ void NEDeconvolutionLayer::run()
92
const int stride_x = _info.stride().first;
93
const int stride_y = _info.stride().second;
94
95
- std::fill_n(reinterpret_cast<float *>(_scaled_output.buffer()), _scaled_output.info()->tensor_shape().total_size(), 0.f);
+ std::fill_n(_scaled_output.buffer(), _scaled_output.info()->total_size(), 0);
96
97
// scaled_output is the input for the forward convolution. We copy the input elements to scaled_output
98
// and insert rows and columns with zeroes depending on the stride values.
0 commit comments