48 #ifndef __NEURAL_NETWORKS_PREDICTION_INPUT_H__ 49 #define __NEURAL_NETWORKS_PREDICTION_INPUT_H__ 51 #include "algorithms/algorithm.h" 53 #include "data_management/data/data_serialize.h" 54 #include "services/daal_defines.h" 55 #include "algorithms/neural_networks/neural_networks_prediction_model.h" 64 namespace neural_networks
80 lastTensorInputId = data
90 model = lastTensorInputId + 1,
91 lastModelInputId = model
103 class DAAL_EXPORT Input :
public daal::algorithms::Input
107 Input(
const Input& other);
116 data_management::TensorPtr
get(TensorInputId id)
const;
123 void set(TensorInputId id,
const data_management::TensorPtr &value);
130 ModelPtr
get(ModelInputId id)
const;
137 void set(ModelInputId id,
const ModelPtr &value);
146 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
149 using interface1::Input;
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::prediction::ModelInputId
ModelInputId
Available identifiers of input Model objects in the prediction stage of the neural network algorithm...
Definition: neural_networks_prediction_input.h:88
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:79
daal::algorithms::neural_networks::prediction::TensorInputId
TensorInputId
Definition: neural_networks_prediction_input.h:77
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::neural_networks::prediction::model
Definition: neural_networks_prediction_input.h:90
daal::algorithms::neural_networks::prediction::data
Definition: neural_networks_prediction_input.h:79
daal::algorithms::math::abs::value
Definition: abs_types.h:112