48 #ifndef __POOLING2D_LAYER_FORWARD_TYPES_H__
49 #define __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/pooling2d/pooling2d_layer_types.h"
63 namespace neural_networks
89 class DAAL_EXPORT Input :
public layers::forward::Input
92 typedef layers::forward::Input super;
99 Input(
const Input& other);
107 virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
113 virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
122 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
131 class DAAL_EXPORT Result :
public layers::forward::Result
142 virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
143 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
152 template <
typename algorithmFPType>
153 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
163 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
166 size_t computeValueDimension(
size_t dataDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
168 void computeValueDimensions(services::Collection<size_t> &dims,
const Parameter *param)
const;
170 data_management::NumericTablePtr createAuxInputDimensions(
const services::Collection<size_t> &dataDims)
const;
174 using interface1::Input;
175 using interface1::Result;
daal
Definition: algorithm_base_common.h:57
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:131