|
TNeuronData
|
Accueil Précédent Suivant |
C / C++ declaration
typedef enum { ntNone, ntSigma, ntSigma2, ntPi } TNeuronType;
typedef enum { psBegin, psEnd } TPositionStyle;
typedef enum { anDontCare, anConstant, anInput, anOutPut } TAddNeuronType;
typedef struct
{
long size;
char Name[256];
short ModelName;
short LayerIndex;
short NodeIndex;
short Activation;
long NeuronID;
long NeuronType; // TNeuronType
long StylePos; // TPositionStyle
long NeuronPosition; // TAddNeuronType
long ActivationPlus;
long IndexNet;
double Value;
} TNeuronData;
Pascal declaration
TNeuronType = (ntNone, ntSigma, ntSigma2, ntPi);
TPositionStyle = (psBegin, psEnd);
TAddNeuronType = (anDontCare, anConstant, anInput, anOutPut, anOutState);
TNeuroneData = record
Size: Integer;
Name: array[0..255] of Char;
ModelName: LongInt;
LayerIndex: LongInt;
NodeIndex: LongInt;
Activation: LongInt;
NeuronID: LongInt;
NeuronType: LongInt; //TNeuronType
StylePos: LongInt; //TPositionStyle
NeuronPosition: LongInt; //TAddNeuronType
ActivationPlus: LongInt;
IndexNet: LongInt;
Value: Double;
end;