48 #ifndef __SPATIAL_POOLING2D_LAYER_FORWARD_TYPES_H__
49 #define __SPATIAL_POOLING2D_LAYER_FORWARD_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/tensor.h"
53 #include "data_management/data/homogen_tensor.h"
54 #include "data_management/data/homogen_numeric_table.h"
55 #include "services/daal_defines.h"
56 #include "algorithms/neural_networks/layers/layer_forward_types.h"
57 #include "algorithms/neural_networks/layers/spatial_pooling2d/spatial_stochastic_pooling2d_layer_types.h"
63 namespace neural_networks
67 namespace spatial_pooling2d
89 class DAAL_EXPORT Input :
public layers::forward::Input
92 typedef layers::forward::Input super;
99 Input(
const Input& other);
103 using layers::forward::Input::get;
104 using layers::forward::Input::set;
110 virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
116 virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
125 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
134 class DAAL_EXPORT Result :
public layers::forward::Result
141 using layers::forward::Result::get;
142 using layers::forward::Result::set;
148 virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
149 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
159 template <
typename algorithmFPType>
160 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
170 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
172 static services::Collection<size_t> computeValueDimensions(
const services::Collection<size_t> &inputDims,
const Parameter *param);
174 data_management::NumericTablePtr createAuxInputDimensions(
const services::Collection<size_t> &dataDims)
const;
178 using interface1::Input;
179 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:134
daal
Definition: algorithm_base_common.h:57