TORCS  1.3.9
The Open Racing Car Simulator
Layer_ Struct Reference

A collection of connections from one layer to another, plus management functions and data. More...

#include <ANN.h>

Collaboration diagram for Layer_:

Public Attributes

int n_inputs
 number of inputs More...
 
int n_outputs
 number of outputs More...
 
realx
 inputs; More...
 
realy
 outputs More...
 
realz
 activation More...
 
reald
 derivatives More...
 
Connectionc
 connections More...
 
RBFConnectionrbf
 rbf connections (if any) More...
 
real a
 learning rate More...
 
real lambda
 eligibility decay More...
 
real zeta
 variance update smoothness. More...
 
bool batch_mode
 do not update weights immediately More...
 
void(* forward )(struct Layer_ *current_layer, bool stochastic)
 forward calculation More...
 
real(* backward )(LISTITEM *p, real *d, bool use_eligibility, real TD)
 partial derivative calculation More...
 
real(* f )(real x)
 activation function More...
 
real(* f_d )(real x)
 derivative of activation function More...
 

Detailed Description

A collection of connections from one layer to another, plus management functions and data.

Definition at line 69 of file ANN.h.

Member Data Documentation

◆ a

real Layer_::a

learning rate

Definition at line 78 of file ANN.h.

◆ backward

real(* Layer_::backward) (LISTITEM *p, real *d, bool use_eligibility, real TD)

partial derivative calculation

Definition at line 83 of file ANN.h.

◆ batch_mode

bool Layer_::batch_mode

do not update weights immediately

Definition at line 81 of file ANN.h.

◆ c

Connection* Layer_::c

connections

Definition at line 76 of file ANN.h.

◆ d

real* Layer_::d

derivatives

Definition at line 75 of file ANN.h.

◆ f

real(* Layer_::f) (real x)

activation function

Definition at line 84 of file ANN.h.

◆ f_d

real(* Layer_::f_d) (real x)

derivative of activation function

Definition at line 85 of file ANN.h.

◆ forward

void(* Layer_::forward) (struct Layer_ *current_layer, bool stochastic)

forward calculation

Definition at line 82 of file ANN.h.

◆ lambda

real Layer_::lambda

eligibility decay

Definition at line 79 of file ANN.h.

◆ n_inputs

int Layer_::n_inputs

number of inputs

Definition at line 70 of file ANN.h.

◆ n_outputs

int Layer_::n_outputs

number of outputs

Definition at line 71 of file ANN.h.

◆ rbf

RBFConnection* Layer_::rbf

rbf connections (if any)

Definition at line 77 of file ANN.h.

◆ x

real* Layer_::x

inputs;

Definition at line 72 of file ANN.h.

◆ y

real* Layer_::y

outputs

Definition at line 73 of file ANN.h.

◆ z

real* Layer_::z

activation

Definition at line 74 of file ANN.h.

◆ zeta

real Layer_::zeta

variance update smoothness.

Definition at line 80 of file ANN.h.


The documentation for this struct was generated from the following file: