24 #ifndef __LCN_LAYER_FORWARD_TYPES_H__
25 #define __LCN_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 "services/daal_defines.h"
31 #include "algorithms/neural_networks/layers/layer_forward_types.h"
32 #include "algorithms/neural_networks/layers/lcn/lcn_layer_types.h"
38 namespace neural_networks
66 class DAAL_EXPORT Input :
public layers::forward::Input
69 typedef layers::forward::Input super;
80 Input(
const Input& other);
91 using layers::forward::Input::set;
96 using layers::forward::Input::get;
103 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getWeightsSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
110 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getBiasesSizes(
const layers::Parameter *parameter)
const DAAL_C11_OVERRIDE;
120 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
129 class DAAL_EXPORT Result :
public layers::forward::Result
132 DECLARE_SERIALIZABLE_CAST(Result);
148 using layers::forward::Result::get;
154 using layers::forward::Result::set;
161 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
162 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
173 template <
typename algorithmFPType>
174 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
182 DAAL_DEPRECATED data_management::TensorPtr
get(LayerDataId id)
const;
190 DAAL_DEPRECATED
void set(LayerDataId
id,
const data_management::TensorPtr &value);
201 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
207 DAAL_DEPRECATED
void getSigmaDimensions(
const Input *in,
const Parameter *algParameter, services::Collection<size_t> &sigmaDims)
const;
211 DAAL_DEPRECATED
void getCDimensions(
const Input *in,
const Parameter *algParameter, services::Collection<size_t> &cDims)
const;
217 template<
typename Archive,
bool onDeserialize>
218 services::Status serialImpl(Archive *arch)
220 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
223 typedef services::SharedPtr<Result> ResultPtr;
226 using interface1::Input;
227 using interface1::Result;
228 using interface1::ResultPtr;
daal::algorithms::neural_networks::layers::lcn::forward::interface1::Input
Input objects for the forward local contrast normalization layer
Definition: lcn_layer_forward_types.h:66
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::neural_networks::layers::lcn::LayerDataId
LayerDataId
Definition: lcn_layer_types.h:65
daal::algorithms::neural_networks::layers::lcn::forward::interface1::Result
Results obtained with the compute() method of the forward local contrast normalization layer in the b...
Definition: lcn_layer_forward_types.h:129