48 #ifndef __POOLING2D_LAYER_BACKWARD_TYPES_H__ 49 #define __POOLING2D_LAYER_BACKWARD_TYPES_H__ 51 #include "algorithms/algorithm.h" 52 #include "data_management/data/tensor.h" 53 #include "data_management/data/homogen_tensor.h" 54 #include "services/daal_defines.h" 55 #include "algorithms/neural_networks/layers/layer_backward_types.h" 56 #include "algorithms/neural_networks/layers/pooling2d/pooling2d_layer_types.h" 62 namespace neural_networks
89 class DAAL_EXPORT Input :
public layers::backward::Input
92 typedef layers::backward::Input super;
97 Input(
const Input& other);
105 virtual services::Collection<size_t> getGradientSize()
const;
108 virtual data_management::NumericTablePtr getAuxInputDimensions()
const = 0;
110 virtual services::Collection<size_t> getInputGradientSize(
const pooling2d::Parameter *parameter)
const;
112 size_t computeInputDimension(
size_t maskDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
120 class DAAL_EXPORT Result :
public layers::backward::Result
135 template <
typename algorithmFPType>
136 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
146 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
150 using interface1::Input;
151 using interface1::Result;
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::algorithms::neural_networks::layers::pooling2d::interface1::Parameter
Parameters for the forward and backward two-dimensional pooling layers.
Definition: pooling2d_layer_types.h:152
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:120
daal::algorithms::neural_networks::layers::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the layer algorithm...
Definition: layer_backward_types.h:224
daal::services::interface1::Collection
Class that implements functionality of the Collection container.
Definition: collection.h:69