24 #ifndef __SPATIAL_POOLING2D_LAYER_BACKWARD_TYPES_H__
25 #define __SPATIAL_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/spatial_pooling2d/spatial_pooling2d_layer_types.h"
33 #include "algorithms/neural_networks/layers/spatial_pooling2d/spatial_pooling2d_layer_forward_types.h"
39 namespace neural_networks
43 namespace spatial_pooling2d
67 class DAAL_EXPORT Input :
public layers::backward::Input
70 typedef layers::backward::Input super;
75 DAAL_DEPRECATED Input();
81 DAAL_DEPRECATED Input(
const Input& other);
88 using layers::backward::Input::get;
89 using layers::backward::Input::set;
98 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
104 virtual services::Collection<size_t> getGradientSize()
const;
107 virtual data_management::NumericTablePtr getAuxInputDimensions()
const = 0;
109 size_t computeInputDimension(
size_t maskDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
118 class DAAL_EXPORT Result :
public layers::backward::Result
125 DAAL_DEPRECATED Result();
139 template <
typename algorithmFPType>
140 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::spatial_pooling2d::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the backward 2D spatial l...
Definition: spatial_pooling2d_layer_backward_types.h:118
daal::algorithms::neural_networks::layers::spatial_pooling2d::backward::interface1::Input
Input objects for the backward 2D spatial layer
Definition: spatial_pooling2d_layer_backward_types.h:67