You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
555 B
22 lines
555 B
#ifndef ROUTE_LAYER_H
|
|
#define ROUTE_LAYER_H
|
|
#include "network.h"
|
|
#include "layer.h"
|
|
|
|
namespace DN{
|
|
|
|
typedef layer route_layer;
|
|
|
|
route_layer make_route_layer(int batch, int n, int *input_layers, int *input_size);
|
|
void forward_route_layer(const route_layer l, network net);
|
|
void backward_route_layer(const route_layer l, network net);
|
|
void resize_route_layer(route_layer *l, network *net);
|
|
|
|
#ifdef GPU
|
|
void forward_route_layer_gpu(const route_layer l, network net);
|
|
void backward_route_layer_gpu(const route_layer l, network net);
|
|
#endif
|
|
|
|
};
|
|
|
|
#endif
|