Skip to content

Commit 5ec204c

Browse files
Requested change: naming
1 parent 0bc6eb3 commit 5ec204c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/layer/riscv/requantize_riscv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Requantize_riscv::Requantize_riscv()
1919
#endif // __riscv_vector
2020
}
2121

22-
static void requantize_leakyrelu(const int* intptr, signed char* ptr, const Mat& scale_in_data, const Mat& bias_data, const Mat& scale_out_data, float slope, int elemcount, int elempack)
22+
static void requantize_relu(const int* intptr, signed char* ptr, const Mat& scale_in_data, const Mat& bias_data, const Mat& scale_out_data, float slope, int elemcount, int elempack)
2323
{
2424
const int scale_in_data_size = scale_in_data.w;
2525
const int bias_data_size = bias_data.w;
@@ -205,7 +205,7 @@ static void requantize(const int* intptr, signed char* ptr, const Mat& scale_in_
205205
if ((activation_type == 1) || (activation_type == 2))
206206
{
207207
const float slope = activation_params[0];
208-
requantize_leakyrelu(intptr, ptr, scale_in_data, bias_data, scale_out_data, slope, elemcount, elempack);
208+
requantize_relu(intptr, ptr, scale_in_data, bias_data, scale_out_data, slope, elemcount, elempack);
209209
return;
210210
}
211211

0 commit comments

Comments
 (0)