22 #ifndef __SPATIAL_POOLING2D_LAYER_FORWARD_TYPES_H__
23 #define __SPATIAL_POOLING2D_LAYER_FORWARD_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "data_management/data/homogen_tensor.h"
28 #include "data_management/data/homogen_numeric_table.h"
29 #include "services/daal_defines.h"
30 #include "algorithms/neural_networks/layers/layer_forward_types.h"
31 #include "algorithms/neural_networks/layers/spatial_pooling2d/spatial_stochastic_pooling2d_layer_types.h"
37 namespace neural_networks
41 namespace spatial_pooling2d
63 class DAAL_EXPORT Input :
public layers::forward::Input
66 typedef layers::forward::Input super;
73 Input(
const Input& other);
77 using layers::forward::Input::get;
78 using layers::forward::Input::set;
84 virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
90 virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
99 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
108 class DAAL_EXPORT Result :
public layers::forward::Result
115 using layers::forward::Result::get;
116 using layers::forward::Result::set;
122 virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
123 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
133 template <
typename algorithmFPType>
134 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
144 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
146 static services::Collection<size_t> computeValueDimensions(
const services::Collection<size_t> &inputDims,
const Parameter *param);
148 data_management::NumericTablePtr createAuxInputDimensions(
const services::Collection<size_t> &dataDims)
const;
152 using interface1::Input;
153 using interface1::Result;
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:108
daal
Definition: algorithm_base_common.h:31