Function arm_leaky_relu_s16¶
Defined in File arm_nnfunctions.h
Function Documentation¶
-
arm_cmsis_nn_status arm_leaky_relu_s16(const int16_t *input, const int32_t input_offset, const int32_t output_offset, const int32_t output_multiplier_alpha, const int32_t output_shift_alpha, const int32_t output_multiplier_identity, const int32_t output_shift_identity, int16_t *output, const int32_t output_size)¶
S16 Leaky ReLU activation function.
- Parameters:
input – [in] Pointer to the input buffer
input_offset – [in] Input tensor zero offset
output_offset – [in] Output tensor zero offset
output_multiplier_alpha – [in] Output multiplier for the alpha parameter
output_shift_alpha – [in] Output shift for the alpha parameter
output_multiplier_identity – [in] Output multiplier for the identity parameter
output_shift_identity – [in] Output shift for the identity parameter
output – [out] Pointer to the output buffer
output_size – [in] Number of elements in the input tensor
- Returns:
The function returns ARM_MATH_SUCCESS