darknet  v3
softmax_layer.h
Go to the documentation of this file.
1 #ifndef SOFTMAX_LAYER_H
2 #define SOFTMAX_LAYER_H
3 #include "layer.h"
4 #include "network.h"
5 
7 
8 void softmax_array(float *input, int n, float temp, float *output);
9 softmax_layer make_softmax_layer(int batch, int inputs, int groups);
12 
13 #ifdef GPU
14 void pull_softmax_layer_output(const softmax_layer l);
15 void forward_softmax_layer_gpu(const softmax_layer l, network net);
16 void backward_softmax_layer_gpu(const softmax_layer l, network net);
17 #endif
18 
19 #endif
void forward_softmax_layer(const softmax_layer l, network net)
Definition: softmax_layer.c:39
softmax_layer make_softmax_layer(int batch, int inputs, int groups)
Definition: softmax_layer.c:11
layer softmax_layer
Definition: softmax_layer.h:6
void backward_softmax_layer(const softmax_layer l, network net)
Definition: softmax_layer.c:59
void softmax_array(float *input, int n, float temp, float *output)
Definition: darknet.h:119