24 #ifndef __POOLING2D_LAYER_BACKWARD_TYPES_H__
25 #define __POOLING2D_LAYER_BACKWARD_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "data_management/data/homogen_tensor.h"
30 #include "services/daal_defines.h"
31 #include "algorithms/neural_networks/layers/layer_backward_types.h"
32 #include "algorithms/neural_networks/layers/pooling2d/pooling2d_layer_types.h"
38 namespace neural_networks
66 class DAAL_EXPORT Input :
public layers::backward::Input
69 typedef layers::backward::Input super;
74 DAAL_DEPRECATED Input();
80 DAAL_DEPRECATED Input(
const Input& other);
92 DAAL_DEPRECATED_VIRTUAL
virtual services::Collection<size_t> getGradientSize()
const;
98 DAAL_DEPRECATED_VIRTUAL
virtual data_management::NumericTablePtr getAuxInputDimensions()
const = 0;
103 DAAL_DEPRECATED_VIRTUAL
virtual services::Collection<size_t> getInputGradientSize(
const pooling2d::Parameter *parameter)
const;
108 DAAL_DEPRECATED
size_t computeInputDimension(
size_t maskDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
116 class DAAL_EXPORT Result :
public layers::backward::Result
123 DAAL_DEPRECATED Result();
138 template <
typename algorithmFPType>
139 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
150 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
154 using interface1::Input;
155 using interface1::Result;
daal::algorithms::neural_networks::layers::pooling2d::backward::interface1::Input
Input objects for the backward 2D pooling layer
Definition: pooling2d_layer_backward_types.h:66
daal::algorithms::neural_networks::layers::pooling2d::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the backward 2D pooling l...
Definition: pooling2d_layer_backward_types.h:116