diff options
Diffstat (limited to 'gemm.h')
| -rw-r--r-- | gemm.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#ifndef YUNET_GEMM_H +#define YUNET_GEMM_H + +#include <stddef.h> + +void yunet_gemm_pack_a(const float *a, int m, int k, float *pack); +size_t yunet_gemm_pack_a_bytes(int m, int k); + +void yunet_gemm(const float *a_pack, + int m, + int k, + const float *b, + size_t ldb, + int n, + const float *bias, + int relu, + float *c, + size_t ldc, + float *bscratch); + +#endif |
