Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches
softmax.h
Go to the documentation of this file.
1#ifndef __NN_SOFTMAX_H
2#define __NN_SOFTMAX_H
3
4#include <stddef.h>
5#include <math.h>
6
7#include "float16.h"
8
9
10void NN_softmax_f16(size_t n,
11 float16_t *y, size_t incy,
12 const float16_t *x, size_t incx
13 );
14
15void NN_softmax_f32(size_t n,
16 float *y, size_t incy,
17 const float *x, size_t incx
18 );
19
20
21#endif // __NN_SOFTMAX_H
uint16_t float16_t
Definition: float16.h:21
void NN_softmax_f16(size_t n, float16_t *y, size_t incy, const float16_t *x, size_t incx)
void NN_softmax_f32(size_t n, float *y, size_t incy, const float *x, size_t incx)