24 #ifndef __AVERAGE_POOLING2D_LAYER_BACKWARD_TYPES_H__
25 #define __AVERAGE_POOLING2D_LAYER_BACKWARD_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/pooling2d/pooling2d_layer_backward_types.h"
33 #include "algorithms/neural_networks/layers/pooling2d/average_pooling2d_layer_types.h"
39 namespace neural_networks
43 namespace average_pooling2d
67 class DAAL_EXPORT Input :
public pooling2d::backward::Input
70 typedef pooling2d::backward::Input super;
81 Input(
const Input& other);
88 using layers::backward::Input::get;
89 using layers::backward::Input::set;
97 DAAL_DEPRECATED data_management::NumericTablePtr
get(LayerDataId id)
const;
105 DAAL_DEPRECATED data_management::TensorPtr
get(LayerDataTensorId id)
const;
113 DAAL_DEPRECATED
void set(LayerDataId
id,
const data_management::NumericTablePtr &ptr);
121 DAAL_DEPRECATED
void set(LayerDataTensorId
id,
const data_management::TensorPtr &ptr);
131 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
137 DAAL_DEPRECATED_VIRTUAL data_management::NumericTablePtr getAuxInputDimensions()
const DAAL_C11_OVERRIDE;
146 class DAAL_EXPORT Result :
public pooling2d::backward::Result
149 DECLARE_SERIALIZABLE_CAST(Result);
160 using layers::backward::Result::get;
161 using layers::backward::Result::set;
172 template <
typename algorithmFPType>
173 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
184 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
191 template<
typename Archive,
bool onDeserialize>
192 services::Status serialImpl(Archive *arch)
194 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
197 typedef services::SharedPtr<Result> ResultPtr;
200 using interface1::Input;
201 using interface1::Result;
202 using interface1::ResultPtr;
daal::algorithms::neural_networks::layers::average_pooling2d::LayerDataId
LayerDataId
Identifiers of input objects for the backward average 2D pooling layer and results for the forward av...
Definition: average_pooling2d_layer_types.h:62
daal::algorithms::neural_networks::layers::average_pooling2d::backward::interface1::Input
Input objects for the backward average 2D pooling layer
Definition: average_pooling2d_layer_backward_types.h:67
daal::algorithms::neural_networks::layers::average_pooling2d::LayerDataTensorId
LayerDataTensorId
Identifiers of input tensors for the backward average 2D pooling layer and results for the forward av...
Definition: average_pooling2d_layer_types.h:72
daal::algorithms::neural_networks::layers::average_pooling2d::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the backward average 2D p...
Definition: average_pooling2d_layer_backward_types.h:146