diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-10-21 17:47:57 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-10-21 17:47:57 +0200 |
| commit | 8b8acffcf5f1e9e9ddb552b8ac125e50f68987ac (patch) | |
| tree | 9b618133a468585087ff4b014b22029d40b24bc5 /nn.h | |
| parent | 2ce585cc96a3fffba65f1bafbfbc796c6370308f (diff) | |
| download | facedet-master.tar.gz facedet-master.zip | |
Diffstat (limited to '')
| -rw-r--r-- | nn.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,9 +1,9 @@ -#ifndef YUNET_NN_H -#define YUNET_NN_H +#ifndef FACEDET_NN_H +#define FACEDET_NN_H #include <stddef.h> -void yunet_nn_conv2d(const float *x, +void facedet_nn_conv2d(const float *x, int cin, int ih, int iw, @@ -18,13 +18,13 @@ void yunet_nn_conv2d(const float *x, float *y, int oh, int ow); -void yunet_nn_im2col3(const float *x, int cin, int ih, int iw, int stride, float *col, int oh, int ow); +void facedet_nn_im2col3(const float *x, int cin, int ih, int iw, int stride, float *col, int oh, int ow); -void yunet_nn_dwconv3( +void facedet_nn_dwconv3( const float *x, int c, int ih, int iw, const float *w, const float *bias, int relu, float *y); -void yunet_nn_maxpool2(const float *x, int c, int ih, int iw, float *y); -void yunet_nn_resize2x(const float *x, int c, int ih, int iw, float *y); -void yunet_nn_add(const float *a, const float *b, float *y, size_t n); -float yunet_nn_sigmoid(float v); +void facedet_nn_maxpool2(const float *x, int c, int ih, int iw, float *y); +void facedet_nn_resize2x(const float *x, int c, int ih, int iw, float *y); +void facedet_nn_add(const float *a, const float *b, float *y, size_t n); +float facedet_nn_sigmoid(float v); #endif |
