22 #ifndef __MAXIMUM_POOLING1D_LAYER_H__
23 #define __MAXIMUM_POOLING1D_LAYER_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "services/daal_defines.h"
28 #include "algorithms/neural_networks/layers/layer.h"
29 #include "algorithms/neural_networks/layers/pooling1d/maximum_pooling1d_layer_types.h"
30 #include "algorithms/neural_networks/layers/pooling1d/maximum_pooling1d_layer_forward.h"
31 #include "algorithms/neural_networks/layers/pooling1d/maximum_pooling1d_layer_backward.h"
38 namespace neural_networks
45 namespace maximum_pooling1d
70 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
71 class Batch :
public LayerIface
79 Batch(
size_t nDimensions) : parameter(nDimensions - 1)
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::maximum_pooling1d::interface1::Batch
Provides methods for the maximum 1D pooling layer in the batch processing mode.
Definition: maximum_pooling1d_layer.h:71
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::maximum_pooling1d::interface1::Batch::parameter
Parameter parameter
Definition: maximum_pooling1d_layer.h:74
daal::algorithms::neural_networks::layers::maximum_pooling1d::interface1::Parameter
Parameters for the maximum 1D pooling layer.
Definition: maximum_pooling1d_layer_types.h:90
daal::algorithms::neural_networks::layers::maximum_pooling1d::interface1::Batch::Batch
Batch(size_t nDimensions)
Definition: maximum_pooling1d_layer.h:79