48 #ifndef __SOFTMAX_LAYER_H__
49 #define __SOFTMAX_LAYER_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/tensor.h"
53 #include "services/daal_defines.h"
54 #include "algorithms/neural_networks/layers/layer.h"
55 #include "algorithms/neural_networks/layers/softmax/softmax_layer_types.h"
56 #include "algorithms/neural_networks/layers/softmax/softmax_layer_forward.h"
57 #include "algorithms/neural_networks/layers/softmax/softmax_layer_backward.h"
63 namespace neural_networks
91 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
92 class Batch :
public LayerIface
100 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
101 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
103 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
104 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
109 using interface1::Batch;
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::softmax::interface1::Batch::Batch
Batch()
Definition: softmax_layer.h:98
daal::algorithms::neural_networks::layers::softmax::interface1::Batch::parameter
Parameter parameter
Definition: softmax_layer.h:95
daal::algorithms::neural_networks::layers::softmax::interface1::Batch
Provides methods for the softmax layer in the batch processing mode.
Definition: softmax_layer.h:92
daal::algorithms::neural_networks::layers::softmax::interface1::Parameter
Parameters for the softmax layer.
Definition: softmax_layer_types.h:109