24 #ifndef __LRN_LAYER_FORWARD_TYPES_H__
25 #define __LRN_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/numeric_table.h"
31 #include "services/daal_defines.h"
32 #include "algorithms/neural_networks/layers/layer_forward_types.h"
33 #include "algorithms/neural_networks/layers/lrn/lrn_layer_types.h"
39 namespace neural_networks
66 class DAAL_EXPORT Input :
public layers::forward::Input
69 typedef layers::forward::Input super;
73 DAAL_DEPRECATED Input();
78 DAAL_DEPRECATED Input(
const Input& other);
83 using layers::forward::Input::get;
88 using layers::forward::Input::set;
95 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
102 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
116 class DAAL_EXPORT Result :
public layers::forward::Result
119 DECLARE_SERIALIZABLE_CAST(Result);
123 DAAL_DEPRECATED Result();
127 virtual ~Result() {};
132 using layers::forward::Result::get;
137 using layers::forward::Result::set;
145 DAAL_DEPRECATED data_management::TensorPtr
get(LayerDataId id)
const;
153 DAAL_DEPRECATED
void set(LayerDataId
id,
const data_management::TensorPtr &value);
164 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
171 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
172 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
183 template <
typename algorithmFPType>
184 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
193 virtual services::Status setResultForBackward(
const daal::algorithms::Input *input) DAAL_C11_OVERRIDE;
199 template<
typename Archive,
bool onDeserialize>
200 services::Status serialImpl(Archive *arch)
202 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
205 typedef services::SharedPtr<Result> ResultPtr;
208 using interface1::Input;
209 using interface1::Result;
210 using interface1::ResultPtr;
daal::algorithms::neural_networks::layers::lrn::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward local respons...
Definition: lrn_layer_forward_types.h:116
daal::algorithms::neural_networks::layers::lrn::forward::interface1::Input
Input parameters for the forward local response normalization layer
Definition: lrn_layer_forward_types.h:66
daal::algorithms::neural_networks::layers::lrn::LayerDataId
LayerDataId
Identifiers of input objects for the backward stage and results for the forward stage of the local re...
Definition: lrn_layer_types.h:63
daal::algorithms::math::abs::value
Definition: abs_types.h:88