提交 7de802ae 编写于 作者: 开心的小妮's avatar 开心的小妮 提交者: Tensor Tang

[ARM] Fix conversion bug from const float* to float*. test=develop

上级 2dd9e51e
......@@ -383,8 +383,8 @@ void pooling2x2s2_max(const void* din, void* dout, int num, int chout, int hout,
#else
w = w_unroll_size;
int num = w_unroll_size >> 3;
float* dr0 = reinterpret_cast<float*>(r0);
float* dr1 = reinterpret_cast<float*>(r1);
const float* dr0 = r0;
const float* dr1 = r1;
float* dr_out = data_out_channel;
if (num > 0) {
asm volatile(
......@@ -442,7 +442,7 @@ void pooling2x2s2_max(const void* din, void* dout, int num, int chout, int hout,
#else
w = w_unroll_size;
int num = w_unroll_size >> 3;
float* dr0 = reinterpret_cast<float*>(r0);
const float* dr0 = r0;
float* dr_out = data_out_channel;
if (num > 0) {
asm volatile(
......@@ -529,8 +529,8 @@ void pooling2x2s2_ave(const void* din, void* dout, int num, int chout, int hout,
#else
w = w_unroll_size;
int num = w_unroll_size >> 3;
float* dr0 = reinterpret_cast<float*>(r0);
float* dr1 = reinterpret_cast<float*>(r1);
const float* dr0 = r0;
const float* dr1 = r1;
float* dr_out = data_out_channel;
if (num > 0) {
......@@ -593,7 +593,7 @@ void pooling2x2s2_ave(const void* din, void* dout, int num, int chout, int hout,
#else
w = w_unroll_size;
int num = w_unroll_size >> 3;
float* dr0 = reinterpret_cast<float*>(r0);
const float* dr0 = r0;
float* dr_out = data_out_channel;
if (num > 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册