24 #ifndef __AVERAGE_POOLING1D_LAYER_FORWARD_TYPES_H__
25 #define __AVERAGE_POOLING1D_LAYER_FORWARD_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "data_management/data/homogen_tensor.h"
30 #include "data_management/data/homogen_numeric_table.h"
31 #include "services/daal_defines.h"
32 #include "algorithms/neural_networks/layers/pooling1d/average_pooling1d_layer_types.h"
33 #include "algorithms/neural_networks/layers/pooling1d/pooling1d_layer_forward_types.h"
39 namespace neural_networks
43 namespace average_pooling1d
67 class DAAL_EXPORT Input :
public pooling1d::forward::Input
76 class DAAL_EXPORT Result :
public pooling1d::forward::Result
79 DECLARE_SERIALIZABLE_CAST(Result);
90 using layers::forward::Result::get;
91 using layers::forward::Result::set;
102 template <
typename algorithmFPType>
103 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
111 DAAL_DEPRECATED data_management::NumericTablePtr
get(LayerDataId id)
const;
119 DAAL_DEPRECATED
void set(LayerDataId
id,
const data_management::NumericTablePtr &ptr);
130 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
137 template<
typename Archive,
bool onDeserialize>
138 services::Status serialImpl(Archive *arch)
140 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
143 typedef services::SharedPtr<Result> ResultPtr;
146 using interface1::Input;
147 using interface1::Result;
148 using interface1::ResultPtr;
daal::algorithms::neural_networks::layers::average_pooling1d::LayerDataId
LayerDataId
Identifiers of input objects for the backward average 1D pooling layer and results for the forward av...
Definition: average_pooling1d_layer_types.h:62
daal::algorithms::neural_networks::layers::average_pooling1d::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward average 1D po...
Definition: average_pooling1d_layer_forward_types.h:76
daal::algorithms::neural_networks::layers::average_pooling1d::forward::interface1::Input
Input objects for the forward average 1D pooling layer. See pooling1d::forward::Input ...
Definition: average_pooling1d_layer_forward_types.h:67