48 #ifndef __MAXIMUM_POOLING1D_LAYER_H__ 49 #define __MAXIMUM_POOLING1D_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/pooling1d/maximum_pooling1d_layer_types.h" 56 #include "algorithms/neural_networks/layers/pooling1d/maximum_pooling1d_layer_forward.h" 57 #include "algorithms/neural_networks/layers/pooling1d/maximum_pooling1d_layer_backward.h" 64 namespace neural_networks
71 namespace maximum_pooling1d
96 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
97 class Batch :
public LayerIface
105 Batch(
size_t nDimensions) : parameter(nDimensions - 1)
107 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
108 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
110 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
111 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
116 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:97
daal::algorithms::neural_networks::layers::maximum_pooling1d::backward::interface1::Batch
Provides methods for the backward maximum 1D pooling layer in the batch processing mode...
Definition: maximum_pooling1d_layer_backward.h:130
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::maximum_pooling1d::forward::interface1::Batch
Provides methods for the forward maximum 1D pooling layer in the batch processing mode...
Definition: maximum_pooling1d_layer_forward.h:130
daal::algorithms::neural_networks::layers::maximum_pooling1d::interface1::Batch::parameter
Parameter parameter
Definition: maximum_pooling1d_layer.h:100
daal::algorithms::neural_networks::layers::interface1::LayerIface
Abstract class that specifies the interface of layer.
Definition: layer.h:83
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::neural_networks::layers::interface1::LayerIface::backwardLayer
backward::LayerIfacePtr backwardLayer
Definition: layer.h:87
daal::algorithms::neural_networks::layers::maximum_pooling1d::interface1::Parameter
Parameters for the maximum 1D pooling layer.
Definition: maximum_pooling1d_layer_types.h:116
daal::algorithms::neural_networks::layers::interface1::LayerIface::forwardLayer
forward::LayerIfacePtr forwardLayer
Definition: layer.h:86
daal::algorithms::neural_networks::layers::maximum_pooling1d::interface1::Batch::Batch
Batch(size_t nDimensions)
Definition: maximum_pooling1d_layer.h:105