ae2f_docs
|
#include "./Slp.auto.h"
Go to the source code of this file.
Macros | |
#define | ae2f_NEED_CLASS 0 |
#define | ACT(r, x) |
#define | ACT_DERIV(r, x) |
#define | LOSS_DERIV(r, y, y_desired, i, c) |
#define | p_weight glob |
#define | p_bias (glob + (osz * isz)) |
#define | p_inp ((p_bias) + (osz)) |
#define | p_out ((p_inp) + isz) |
#define | p_delta ((p_out) + osz) |
#define | p_goal ((p_delta) + osz) |
Functions | |
const | ae2f_structdef (struct, lr_t) |
__kernel void | kPredict (__global ae2f_float_t *glob, const uint32_t unused) |
get_global_id(0) : oidx | |
__kernel void | kTrain (lr_t lr, __global ae2f_float_t *glob, __local ae2f_float_t *loc) |
get_global_id(0) : oidx get_local_id(0) : iidx | |
__kernel void | kFit (lr_t lr, __global ae2f_float_t *glob) |
get_global_id(0) : oidx get_local_id(0) : iidx | |
__kernel void | kFollow (lr_t lr, __global ae2f_float_t *glob) |
get_global_id(0): oidx get_local_id(0): iidx |
__kernel void kFit | ( | lr_t | lr, |
__global ae2f_float_t * | glob ) |
get_global_id(0) : oidx
get_local_id(0) : iidx
Global:
ae2f_float_t[Out][In] : Weights
, ae2f_float_t[Out] : Bias
, ae2f_float_t[Inp]
, ae2f_float_t[Out]
, ae2f_float_t[Out] : Delta
, ae2f_float_t[Out] : Goal
out
out_desired
retdelta
delta
r_bias
delta
inp
delta
weight
__kernel void kFollow | ( | lr_t | lr, |
__global ae2f_float_t * | glob ) |
get_global_id(0): oidx get_local_id(0): iidx
Global:
ae2f_float_t[Out][In] : Weights
, ae2f_float_t[Out] : Bias
, ae2f_float_t[Inp]
, ae2f_float_t[Out] : Delta
inp
delta
weight
r_bias
delta
__kernel void kPredict | ( | __global ae2f_float_t * | glob, |
const uint32_t | unused ) |
get_global_id(0) : oidx
Global:
, ae2f_float_t[Out][Inp] : Weight
, ae2f_float_t[Out] : Bias
, ae2f_float_t[Inp]
, ae2f_float_t[Out]
__kernel void kTrain | ( | lr_t | lr, |
__global ae2f_float_t * | glob, | ||
__local ae2f_float_t * | loc ) |
get_global_id(0) : oidx
get_local_id(0) : iidx
Global:
ae2f_float_t[Out][Inp] : Weights
, ae2f_float_t[Out] : Bias
, ae2f_float_t[Inp]
, ae2f_float_t[Out]
, ae2f_float_t[Out] : Delta
, ae2f_float_t[Out] : Goal
Local:
ae2f_float_t[Out]
out
out_desired
delta
r_bias
delta
inp
delta
weight