24 #ifndef __SPATIAL_POOLING2D_LAYER_FORWARD_TYPES_H__
25 #define __SPATIAL_POOLING2D_LAYER_FORWARD_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "data_management/data/homogen_tensor.h"
30 #include "data_management/data/homogen_numeric_table.h"
31 #include "services/daal_defines.h"
32 #include "algorithms/neural_networks/layers/layer_forward_types.h"
33 #include "algorithms/neural_networks/layers/spatial_pooling2d/spatial_stochastic_pooling2d_layer_types.h"
39 namespace neural_networks
43 namespace spatial_pooling2d
66 class DAAL_EXPORT Input :
public layers::forward::Input
69 typedef layers::forward::Input super;
80 Input(
const Input& other);
87 using layers::forward::Input::get;
88 using layers::forward::Input::set;
94 virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
100 virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
109 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
119 class DAAL_EXPORT Result :
public layers::forward::Result
126 DAAL_DEPRECATED Result();
132 using layers::forward::Result::get;
133 using layers::forward::Result::set;
139 virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
140 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
150 template <
typename algorithmFPType>
151 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
161 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
163 static services::Collection<size_t> computeValueDimensions(
const services::Collection<size_t> &inputDims,
const Parameter *param);
165 data_management::NumericTablePtr createAuxInputDimensions(
const services::Collection<size_t> &dataDims)
const;
169 using interface1::Input;
170 using interface1::Result;
daal::algorithms::neural_networks::layers::spatial_pooling2d::forward::interface1::Input
Input objects for the forward 2D spatial layer
Definition: spatial_pooling2d_layer_forward_types.h:66
daal::algorithms::neural_networks::layers::spatial_pooling2d::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward 2D spatial la...
Definition: spatial_pooling2d_layer_forward_types.h:119