00001 #ifndef ACTIVATION_LAYER_H 00002 #define ACTIVATION_LAYER_H 00003 00004 #include "activations.h" 00005 #include "layer.h" 00006 #include "network.h" 00007 00008 layer make_activation_layer(int batch, int inputs, ACTIVATION activation); 00009 00010 void forward_activation_layer(layer l, network_state state); 00011 void backward_activation_layer(layer l, network_state state); 00012 00013 #ifdef GPU 00014 void forward_activation_layer_gpu(layer l, network_state state); 00015 void backward_activation_layer_gpu(layer l, network_state state); 00016 #endif 00017 00018 #endif 00019