24 #ifndef __SOFTMAX_LAYER_H__
25 #define __SOFTMAX_LAYER_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "services/daal_defines.h"
30 #include "algorithms/neural_networks/layers/layer.h"
31 #include "algorithms/neural_networks/layers/softmax/softmax_layer_types.h"
32 #include "algorithms/neural_networks/layers/softmax/softmax_layer_forward.h"
33 #include "algorithms/neural_networks/layers/softmax/softmax_layer_backward.h"
39 namespace neural_networks
69 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
70 class Batch :
public LayerIface
79 DAAL_DEPRECATED Batch()
81 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
82 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
84 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
85 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
90 using interface1::Batch;
daal::algorithms::neural_networks::layers::softmax::interface1::Batch::Batch
DAAL_DEPRECATED Batch()
Definition: softmax_layer.h:79
daal::algorithms::neural_networks::layers::softmax::interface1::Parameter
Parameters for the softmax layer.
Definition: softmax_layer_types.h:86
daal::algorithms::neural_networks::layers::softmax::interface1::Batch::parameter
Parameter parameter
Definition: softmax_layer.h:73
daal::algorithms::neural_networks::layers::softmax::interface1::Batch
Provides methods for the softmax layer in the batch processing mode.
Definition: softmax_layer.h:70