24 #ifndef __CONCAT_LAYER_FORWARD_TYPES_H__
25 #define __CONCAT_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/layer_forward_types.h"
33 #include "algorithms/neural_networks/layers/concat/concat_layer_types.h"
39 namespace neural_networks
69 class DAAL_EXPORT Input :
public layers::forward::Input
72 typedef layers::forward::Input super;
83 Input(
const Input& other);
88 using layers::forward::Input::get;
93 using layers::forward::Input::set;
107 DAAL_DEPRECATED data_management::TensorPtr
get(layers::forward::InputLayerDataId id,
size_t index)
const;
115 DAAL_DEPRECATED LayerDataPtr
get(layers::forward::InputLayerDataId id)
const;
123 DAAL_DEPRECATED
void set(layers::forward::InputLayerDataId
id,
const LayerDataPtr &value);
132 DAAL_DEPRECATED
void set(layers::forward::InputLayerDataId
id,
const data_management::TensorPtr &value,
size_t index);
142 DAAL_DEPRECATED_VIRTUAL
virtual services::Status addData(
const data_management::TensorPtr &dataTensor,
size_t index) DAAL_C11_OVERRIDE;
150 DAAL_DEPRECATED_VIRTUAL
virtual services::Status eraseInputData() DAAL_C11_OVERRIDE;
160 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
167 DAAL_DEPRECATED LayerInputLayout getLayout() DAAL_C11_OVERRIDE;
175 class DAAL_EXPORT Result :
public layers::forward::Result
178 DECLARE_SERIALIZABLE_CAST(Result);
187 virtual ~Result() {};
192 using layers::forward::Result::get;
197 using layers::forward::Result::set;
205 DAAL_DEPRECATED
void set(LayerDataId
id,
const data_management::NumericTablePtr &value);
213 DAAL_DEPRECATED data_management::NumericTablePtr
get(layers::concat::LayerDataId id)
const;
223 DAAL_DEPRECATED_VIRTUAL
virtual const services::Collection<size_t> getValueSize(
const services::Collection<size_t> &inputSize,
224 const daal::algorithms::Parameter *par,
const int method)
const DAAL_C11_OVERRIDE;
234 DAAL_DEPRECATED services::Collection<size_t> getValueSize(
const services::Collection< services::Collection<size_t> > &inputSize,
235 const daal::algorithms::Parameter *parameter,
const int method) DAAL_C11_OVERRIDE;
245 template <
typename algorithmFPType>
246 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
257 DAAL_DEPRECATED_VIRTUAL
virtual services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
258 int method)
const DAAL_C11_OVERRIDE;
265 template<
typename Archive,
bool onDeserialize>
266 services::Status serialImpl(Archive *arch)
268 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
271 typedef services::SharedPtr<Result> ResultPtr;
274 using interface1::Input;
275 using interface1::Result;
276 using interface1::ResultPtr;
daal::algorithms::neural_networks::layers::concat::forward::interface1::Input
Input objects for the forward concat layer
Definition: concat_layer_forward_types.h:69
daal::algorithms::neural_networks::layers::concat::forward::interface1::Result
Provides methods to access the result obtained with the compute() method of the forward concat layer...
Definition: concat_layer_forward_types.h:175
daal::algorithms::neural_networks::layers::LayerInputLayout
LayerInputLayout
Definition: layer_types.h:59
daal::algorithms::neural_networks::layers::forward::InputLayerDataId
InputLayerDataId
Definition: layer_forward_types.h:75
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::neural_networks::layers::concat::LayerDataId
LayerDataId
Identifiers of input objects for the backward concat layer and results for the forward concat layer...
Definition: concat_layer_types.h:66