darknet/src/route_layer.h

18 lines
506 B
C
Raw Normal View History

2015-05-08 20:37:39 +03:00
#ifndef ROUTE_LAYER_H
#define ROUTE_LAYER_H
#include "network.h"
2015-05-11 23:46:49 +03:00
#include "layer.h"
2015-05-08 20:37:39 +03:00
2015-05-11 23:46:49 +03:00
typedef layer route_layer;
2015-05-08 20:37:39 +03:00
2015-05-11 23:46:49 +03:00
route_layer make_route_layer(int batch, int n, int *input_layers, int *input_size);
void forward_route_layer(const route_layer l, network_state state);
void backward_route_layer(const route_layer l, network_state state);
2015-05-08 20:37:39 +03:00
#ifdef GPU
void forward_route_layer_gpu(const route_layer l, network_state state);
void backward_route_layer_gpu(const route_layer l, network_state state);
2015-05-08 20:37:39 +03:00
#endif
#endif