Function arm_nn_fill_f32

Function Documentation

arm_cmsis_nn_status arm_nn_fill_f32(float32_t value, float32_t *output, int32_t block_size)

Fill a float32 vector with one value.

Bit copy of value into every element (vector splat / plain stores), so a NaN fill value lands bit-exact, sign and payload included. Not named arm_fill_f32: CMSIS-DSP exports that symbol.

Parameters:
  • value[in] Fill value.

  • output[out] Pointer to the output vector.

  • block_size[in] Number of elements to write (0 is a no-op).

Returns:

ARM_CMSIS_NN_SUCCESS, or ARM_CMSIS_NN_ARG_ERROR when block_size is negative or output is NULL with a non-zero block_size.