Function arm_leaky_relu_s8

Function Documentation

arm_cmsis_nn_status arm_leaky_relu_s8(const int8_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, int8_t *output, const int32_t output_size)

S8 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 tensor

Returns:

The function returns ARM_MATH_SUCCESS