48 #ifndef __POOLING3D_LAYER_FORWARD_TYPES_H__ 49 #define __POOLING3D_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/pooling3d/pooling3d_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;
153 template <
typename algorithmFPType>
154 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
164 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
167 size_t computeValueDimension(
size_t dataDim,
size_t kernelSize,
size_t padding,
size_t stride)
const;
169 void computeValueDimensions(services::Collection<size_t> &dims,
const Parameter *param)
const;
171 data_management::NumericTablePtr createAuxInputDimensions(
const services::Collection<size_t> &dataDims)
const;
175 using interface1::Input;
176 using interface1::Result;
daal::algorithms::neural_networks::layers::pooling3d::interface1::Parameter
Parameters for the forward and backward pooling layers.
Definition: pooling3d_layer_types.h:176
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::interface1::Parameter
Definition: layer_types.h:110
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::algorithms::neural_networks::layers::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the layer algorithm...
Definition: layer_forward_types.h:241
daal::algorithms::neural_networks::layers::pooling3d::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward 3D pooling la...
Definition: pooling3d_layer_forward_types.h:131
daal::services::interface1::Collection
Class that implements functionality of the Collection container.
Definition: collection.h:69