ae2f_docs
|
#include <ae2fVK/Ann/Mlp.h>
#include <ae2fVK/Ann/Mlp.auto.h>
#include <ae2fVK/Ann/MlpSHADER.auto.h>
#include <ae2fVK/Ann/Slp.auto.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 1 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2f_MACRO_GENERATED 0 |
Definition at line 2 of file Mlp.auto.h.
#define __ae2fVK_AnnMlpClean_imp | ( | v_mlp | ) |
tparam param
Definition at line 524 of file Mlp.auto.h.
tparam param
Definition at line 604 of file Mlp.auto.h.
tparam param
Definition at line 643 of file Mlp.auto.h.
#define __ae2fVK_AnnMlpMapWB_imp | ( | v_map, | |
iv_mlp, | |||
r_err, | |||
r_ptrweight, | |||
r_ptrbias ) |
tparam param
Definition at line 682 of file Mlp.auto.h.
#define __ae2fVK_AnnMlpMk_imp | ( | v_mk, | |
iv_weight_opt, | |||
iv_bias_opt, | |||
iv_outstream_opt, | |||
iv_deltastream_opt, | |||
i_len_count, | |||
i_len, | |||
i_len_swap, | |||
i_prm_offset, | |||
i_extra, | |||
i_act, | |||
i_actderiv, | |||
i_lossderiv, | |||
i_learningrate, | |||
i_learningrate_bias, | |||
i_vkdev, | |||
i_vkmemprops, | |||
iv_vkalloccalls, | |||
i_vkcldeclaration, | |||
i_vkcldefinition ) |
Make MLP with OpenCL compute shader.
The shader itself is incomplete.
For using it you will need to define three macros as function.
Below is the required snippet.
#define ACT(const ae2f_float_t) -> ae2f_float_t
#define ACT_DERIV(const ae2f_float_t) -> ae2f_float_t
#define LOSS_DERIV(
ae2f_float_t* retval
const ae2f_float_t* const out
, const ae2f_float_t* const out_desired
, const size_t index
, const size_t length_out_goal
);
vkcldeclaration | |
vkcldefinition | tparam param |
Definition at line 65 of file Mlp.auto.h.
#define __ae2fVK_AnnMlpUnMapGoal_imp | ( | v_unmap, | |
iv_mlp ) |
tparam param
Definition at line 626 of file Mlp.auto.h.
#define __ae2fVK_AnnMlpUnMapOutStream_imp | ( | v_unmap, | |
iv_mlp ) |
tparam param
Definition at line 665 of file Mlp.auto.h.
#define __ae2fVK_AnnMlpUnMapWB_imp | ( | v_unmap, | |
iv_mlp ) |
tparam param
Definition at line 723 of file Mlp.auto.h.
#define ae2fVK_Ann_Mlp_auto_h |
Definition at line 6 of file Mlp.auto.h.