Function arm_nn_mat_mult_nt_n_packed_f32

Function Documentation

arm_cmsis_nn_status arm_nn_mat_mult_nt_n_packed_f32(const float32_t *lhs, const float32_t *rhs_packed, const float32_t *bias, float32_t *dst, int32_t lhs_rows, int32_t rhs_rows, int32_t rhs_cols, int32_t row_address_offset, float32_t activation_min, float32_t activation_max)

Matrix multiply with non-transposed lhs and packed non-transposed rhs (float32).

Parameters:
  • lhs[in] Left-hand matrix stored row-major with logical shape [lhs_rows, rhs_cols].

  • rhs_packed[in] Right-hand matrix with logical shape [rhs_cols, rhs_rows], packed in column blocks of 4. The final block uses the same packed stride and inactive tail lanes are ignored.

  • bias[in] Optional bias vector.

  • dst[out] Output matrix.

  • lhs_rows[in] Number of rows in lhs.

  • rhs_rows[in] Number of logical output columns in the unpacked rhs matrix.

  • rhs_cols[in] Shared reduction dimension K.

  • row_address_offset[in] Output row stride, expressed in elements.

  • activation_min[in] Lower clamp bound.

  • activation_max[in] Upper clamp bound.

Returns:

ARM_CMSIS_NN_SUCCESS on success or ARM_CMSIS_NN_ARG_ERROR on invalid arguments.