22 #ifndef __POOLING2D_LAYER_FORWARD_TYPES_H__
23 #define __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/pooling2d/pooling2d_layer_types.h"
37 namespace neural_networks
63 class DAAL_EXPORT Input :
public layers::forward::Input
66 typedef layers::forward::Input super;
73 Input(
const Input& other);
81 virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
87 virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
96 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
105 class DAAL_EXPORT Result :
public layers::forward::Result
116 virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
117 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
126 template <
typename algorithmFPType>
127 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
137 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
140 size_t computeValueDimension(
size_t dataDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
142 void computeValueDimensions(services::Collection<size_t> &dims,
const Parameter *param)
const;
144 data_management::NumericTablePtr createAuxInputDimensions(
const services::Collection<size_t> &dataDims)
const;
148 using interface1::Input;
149 using interface1::Result;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::pooling2d::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward 2D pooling la...
Definition: pooling2d_layer_forward_types.h:105