48 #ifndef __MAXIMUM_POOLING1D_LAYER_FORWARD_TYPES_H__
49 #define __MAXIMUM_POOLING1D_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/pooling1d/maximum_pooling1d_layer_types.h"
57 #include "algorithms/neural_networks/layers/pooling1d/pooling1d_layer_forward_types.h"
63 namespace neural_networks
67 namespace maximum_pooling1d
90 class DAAL_EXPORT Input :
public pooling1d::forward::Input
98 class DAAL_EXPORT Result :
public pooling1d::forward::Result
101 DECLARE_SERIALIZABLE_CAST(Result);
109 using layers::forward::Result::get;
114 using layers::forward::Result::set;
124 template <
typename algorithmFPType>
125 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
132 data_management::TensorPtr
get(LayerDataId id)
const;
139 data_management::NumericTablePtr
get(LayerDataNumericTableId id)
const;
146 void set(LayerDataId
id,
const data_management::TensorPtr &ptr);
153 void set(LayerDataNumericTableId
id,
const data_management::NumericTablePtr &ptr);
163 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
167 template<
typename Archive,
bool onDeserialize>
168 services::Status serialImpl(Archive *arch)
170 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
173 typedef services::SharedPtr<Result> ResultPtr;
176 using interface1::Input;
177 using interface1::Result;
178 using interface1::ResultPtr;
daal::algorithms::neural_networks::layers::maximum_pooling1d::LayerDataNumericTableId
LayerDataNumericTableId
Identifiers of input numeric tables for the backward maximum 1D pooling layer and results for the for...
Definition: maximum_pooling1d_layer_types.h:96
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::maximum_pooling1d::LayerDataId
LayerDataId
Identifiers of input tensors for the backward maximum 1D pooling layer and results for the forward ma...
Definition: maximum_pooling1d_layer_types.h:86
daal::algorithms::neural_networks::layers::maximum_pooling1d::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward maximum 1D po...
Definition: maximum_pooling1d_layer_forward_types.h:98