48 #ifndef __SPATIAL_POOLING2D_LAYER_BACKWARD_TYPES_H__
49 #define __SPATIAL_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/spatial_pooling2d/spatial_pooling2d_layer_types.h"
57 #include "algorithms/neural_networks/layers/spatial_pooling2d/spatial_pooling2d_layer_forward_types.h"
63 namespace neural_networks
67 namespace spatial_pooling2d
90 class DAAL_EXPORT Input :
public layers::backward::Input
93 typedef layers::backward::Input super;
98 Input(
const Input& other);
102 using layers::backward::Input::get;
103 using layers::backward::Input::set;
112 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
118 virtual services::Collection<size_t> getGradientSize()
const;
121 virtual data_management::NumericTablePtr getAuxInputDimensions()
const = 0;
123 size_t computeInputDimension(
size_t maskDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
131 class DAAL_EXPORT Result :
public layers::backward::Result
146 template <
typename algorithmFPType>
147 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
157 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
161 using interface1::Input;
162 using interface1::Result;
daal
Definition: algorithm_base_common.h:57
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:131