mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
15 lines
349 B
C
15 lines
349 B
C
|
#ifndef FREEWEIGHT_LAYER_H
|
||
|
#define FREEWEIGHT_LAYER_H
|
||
|
|
||
|
typedef struct{
|
||
|
int batch;
|
||
|
int inputs;
|
||
|
} freeweight_layer;
|
||
|
|
||
|
freeweight_layer *make_freeweight_layer(int batch, int inputs);
|
||
|
|
||
|
void forward_freeweight_layer(freeweight_layer layer, float *input);
|
||
|
void backward_freeweight_layer(freeweight_layer layer, float *input, float *delta);
|
||
|
|
||
|
#endif
|