ae2f_docs
Slp.imp.c File Reference
#include <ae2f/MMap/Util.h>
#include <ae2f/Ann/Slp.h>
#include <ae2f/Cast.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

ae2f_SHAREDEXPORT void ae2f_AnnSlpInit (ae2f_AnnSlp_t *restrict const _this, const size_t inc, const size_t outc, const size_t offset_opt, ae2f_err_t *restrict const err_opt, size_t *restrict const initsz_opt) noexcept __ae2f_AnnSlpInit_C(_this
ae2f_SHAREDEXPORT void ae2f_AnnSlpMk (ae2f_LP(inc *outc) ae2f_float_t *restrict const weight_opt, ae2f_LP(outc) ae2f_float_t *restrict const bias_opt, ae2f_LP(outc) ae2f_float_t *restrict const cache_opt, const size_t inc, const size_t outc, const size_t offset_opt, const size_t extra_opt, ae2f_FREE(ae2f_AnnSlpDel, __ae2f_AnnSlpDel) ae2f_AnnSlp *restrict *restrict const slp, ae2f_opt ae2f_AnnAct_t *const act, ae2f_opt ae2f_AnnAct_t *const actderiv, ae2f_AnnLoss_t *const lossderiv, ae2f_float_t learningrate, ae2f_float_t learningrate_bias, ae2f_opt ae2f_err_t *restrict const err_opt) noexcept
ae2f_SHAREDEXPORT void ae2f_AnnSlpDel (ae2f_AnnSlp *restrict const slp) noexcept
ae2f_SHAREDEXPORT void ae2f_AnnSlpPredict (ae2f_err_t *restrict const err_opt, const ae2f_AnnSlp *restrict const _this, const ae2f_float_t *restrict const prm_in, ae2f_float_t *restrict const out) noexcept
ae2f_SHAREDEXPORT void ae2f_AnnSlpFollow (ae2f_err_t *const restrict reterr_opt, const ae2f_AnnSlp *restrict const _this, const ae2f_float_t *restrict const prm_in, const ae2f_float_t *restrict const delta) noexcept
ae2f_SHAREDEXPORT void ae2f_AnnSlpFit (ae2f_err_t *restrict const reterr_opt, const ae2f_AnnSlp *restrict const _this, ae2f_LP(_this::inc) const ae2f_float_t *restrict const prm_inp, ae2f_LP(_this::outc) const ae2f_float_t *restrict const prm_out, ae2f_LP(_this::outc) const ae2f_float_t *restrict const prm_out_desired) noexcept
ae2f_SHAREDEXPORT void ae2f_AnnSlpFetchDelta (ae2f_opt ae2f_err_t *restrict const err, const ae2f_AnnSlp *restrict slp, ae2f_LP(slp::outc) const ae2f_float_t *restrict const out, ae2f_LP(slp::outc) const ae2f_float_t *restrict const out_desired, ae2f_LP(slp::outc) ae2f_float_t *restrict const retdelta) noexcept
ae2f_SHAREDEXPORT void ae2f_AnnSlpTrain (ae2f_err_t *restrict const err, ae2f_AnnSlp *restrict slp, ae2f_LP(slp::inc) const ae2f_float_t *restrict inp, ae2f_LP(slp::outc) const ae2f_float_t *restrict out_desired) noexcept

Variables

ae2f_SHAREDEXPORT void inc
ae2f_SHAREDEXPORT void outc
ae2f_SHAREDEXPORT void offset_opt
ae2f_SHAREDEXPORT void err_opt
ae2f_SHAREDEXPORT void initsz_opt

Function Documentation

◆ ae2f_AnnSlpDel()

ae2f_SHAREDEXPORT void ae2f_AnnSlpDel ( ae2f_AnnSlp *restrict const slp)
noexcept

Definition at line 55 of file Slp.imp.c.

◆ ae2f_AnnSlpFetchDelta()

ae2f_SHAREDEXPORT void ae2f_AnnSlpFetchDelta ( ae2f_opt ae2f_err_t *restrict const err,
const ae2f_AnnSlp *restrict slp,
ae2f_LP(slp::outc) const ae2f_float_t *restrict const out,
ae2f_LP(slp::outc) const ae2f_float_t *restrict const out_desired,
ae2f_LP(slp::outc) ae2f_float_t *restrict const retdelta )
noexcept

Definition at line 97 of file Slp.imp.c.

◆ ae2f_AnnSlpFit()

ae2f_SHAREDEXPORT void ae2f_AnnSlpFit ( ae2f_err_t *restrict const reterr_opt,
const ae2f_AnnSlp *restrict const _this,
ae2f_LP(_this::inc) const ae2f_float_t *restrict const prm_inp,
ae2f_LP(_this::outc) const ae2f_float_t *restrict const prm_out,
ae2f_LP(_this::outc) const ae2f_float_t *restrict const prm_out_desired )
noexcept

Definition at line 82 of file Slp.imp.c.

◆ ae2f_AnnSlpFollow()

ae2f_SHAREDEXPORT void ae2f_AnnSlpFollow ( ae2f_err_t *const restrict reterr_opt,
const ae2f_AnnSlp *restrict const _this,
const ae2f_float_t *restrict const prm_in,
const ae2f_float_t *restrict const delta )
noexcept

Definition at line 73 of file Slp.imp.c.

◆ ae2f_AnnSlpInit()

ae2f_SHAREDEXPORT void ae2f_AnnSlpInit ( ae2f_AnnSlp_t *restrict const _this,
const size_t inc,
const size_t outc,
const size_t offset_opt,
ae2f_err_t *restrict const err_opt,
size_t *restrict const initsz_opt )
noexcept

◆ ae2f_AnnSlpMk()

ae2f_SHAREDEXPORT void ae2f_AnnSlpMk ( ae2f_LP(inc *outc) ae2f_float_t *restrict const weight_opt,
ae2f_LP(outc) ae2f_float_t *restrict const bias_opt,
ae2f_LP(outc) ae2f_float_t *restrict const cache_opt,
const size_t inc,
const size_t outc,
const size_t offset_opt,
const size_t extra_opt,
ae2f_FREE(ae2f_AnnSlpDel, __ae2f_AnnSlpDel) ae2f_AnnSlp *restrict *restrict const slp,
ae2f_opt ae2f_AnnAct_t *const act,
ae2f_opt ae2f_AnnAct_t *const actderiv,
ae2f_AnnLoss_t *const lossderiv,
ae2f_float_t learningrate,
ae2f_float_t learningrate_bias,
ae2f_opt ae2f_err_t *restrict const err_opt )
noexcept

Definition at line 26 of file Slp.imp.c.

◆ ae2f_AnnSlpPredict()

ae2f_SHAREDEXPORT void ae2f_AnnSlpPredict ( ae2f_err_t *restrict const err_opt,
const ae2f_AnnSlp *restrict const _this,
const ae2f_float_t *restrict const prm_in,
ae2f_float_t *restrict const out )
noexcept

Definition at line 59 of file Slp.imp.c.

◆ ae2f_AnnSlpTrain()

ae2f_SHAREDEXPORT void ae2f_AnnSlpTrain ( ae2f_err_t *restrict const err,
ae2f_AnnSlp *restrict slp,
ae2f_LP(slp::inc) const ae2f_float_t *restrict inp,
ae2f_LP(slp::outc) const ae2f_float_t *restrict out_desired )
noexcept

Definition at line 110 of file Slp.imp.c.

Variable Documentation

◆ err_opt

ae2f_SHAREDEXPORT void err_opt

Definition at line 22 of file Slp.imp.c.

◆ inc

ae2f_SHAREDEXPORT void inc

Definition at line 21 of file Slp.imp.c.

◆ initsz_opt

ae2f_SHAREDEXPORT void initsz_opt

Definition at line 22 of file Slp.imp.c.

◆ offset_opt

ae2f_SHAREDEXPORT void offset_opt

Definition at line 22 of file Slp.imp.c.

◆ outc

ae2f_SHAREDEXPORT void outc

Definition at line 21 of file Slp.imp.c.