ae2f_docs
Act.h File Reference
#include <stddef.h>
#include <ae2f/Float.h>

Go to the source code of this file.

Typedefs

typedef void ae2f_AnnAct_t(ae2f_float_t *ret, ae2f_float_t x)
 Customisable activasion function type.
typedef void ae2f_AnnLoss_t(ae2f_float_t *ret, const ae2f_float_t *out, const ae2f_float_t *goal, size_t index, size_t count)
 Specify the way of calculating loss.

Typedef Documentation

◆ ae2f_AnnAct_t

typedef void ae2f_AnnAct_t(ae2f_float_t *ret, ae2f_float_t x)

Customisable activasion function type.

Definition at line 19 of file Act.h.

◆ ae2f_AnnLoss_t

typedef void ae2f_AnnLoss_t(ae2f_float_t *ret, const ae2f_float_t *out, const ae2f_float_t *goal, size_t index, size_t count)

Specify the way of calculating loss.

This will be multiplied with learning rate,
and that value will be added to each weights field and bias.

Parameters
outPredicted value
goalExpected value (wanted)
Returns
Calculated loss.

Definition at line 29 of file Act.h.