mirror of
https://github.com/glouw/tinn
synced 2024-11-25 07:49:35 +03:00
22 lines
283 B
C
22 lines
283 B
C
#ifndef _TINN_H_
|
|
#define _TINN_H_
|
|
|
|
typedef struct
|
|
{
|
|
double* o;
|
|
double* h;
|
|
double* w;
|
|
int nops;
|
|
int nhid;
|
|
int nips;
|
|
}
|
|
Tinn;
|
|
|
|
double ttrain(Tinn, double* in, double* tg, double rate);
|
|
|
|
Tinn tbuild(int inputs, int output, int hidden);
|
|
|
|
void tfree(Tinn);
|
|
|
|
#endif
|