22 #ifndef __MAXIMUM_POOLING1D_LAYER_FORWARD_TYPES_H__
23 #define __MAXIMUM_POOLING1D_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/pooling1d/maximum_pooling1d_layer_types.h"
31 #include "algorithms/neural_networks/layers/pooling1d/pooling1d_layer_forward_types.h"
37 namespace neural_networks
41 namespace maximum_pooling1d
64 class DAAL_EXPORT Input :
public pooling1d::forward::Input
72 class DAAL_EXPORT Result :
public pooling1d::forward::Result
75 DECLARE_SERIALIZABLE_CAST(Result);
83 using layers::forward::Result::get;
88 using layers::forward::Result::set;
98 template <
typename algorithmFPType>
99 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
106 data_management::TensorPtr
get(LayerDataId id)
const;
113 data_management::NumericTablePtr
get(LayerDataNumericTableId id)
const;
120 void set(LayerDataId
id,
const data_management::TensorPtr &ptr);
127 void set(LayerDataNumericTableId
id,
const data_management::NumericTablePtr &ptr);
137 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
141 template<
typename Archive,
bool onDeserialize>
142 services::Status serialImpl(Archive *arch)
144 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
147 typedef services::SharedPtr<Result> ResultPtr;
150 using interface1::Input;
151 using interface1::Result;
152 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:70
daal
Definition: algorithm_base_common.h:31
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:60
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:72