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::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::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
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