|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dspm_mult.h"Go to the source code of this file.
Functions | |
| esp_err_t | dspm_mult_ex_f32_ansi (const float *A, const float *B, float *C, int A_rows, int A_cols, int B_cols, int A_padding, int B_padding, int C_padding) |
| Matrix subset multiplication. | |
| esp_err_t dspm_mult_ex_f32_ansi | ( | const float * | A, |
| const float * | B, | ||
| float * | C, | ||
| int | m, | ||
| int | n, | ||
| int | k, | ||
| int | A_padd, | ||
| int | B_padd, | ||
| int | C_padd ) |
Matrix subset multiplication.
One or all of the matrices are matrix subsets, described with pointers and strides Matrix multiplication for two floating point matrices: C[m][k] = A[m][n] * B[n][k] The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | A | input matrix A[m][n] |
| [in] | B | input matrix B[n][k] |
| [out] | C | result matrix C[m][k] |
| [in] | m | matrix dimension |
| [in] | n | matrix dimension |
| [in] | k | matrix dimension |
| [in] | A_padd | input matrix A padding |
| [in] | B_padd | input matrix B padding |
| [in] | C_padd | result matrix C padding |
Definition at line 12 of file dspm_mult_ex_f32_ansi.c.
References A, B, C, ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.