22 #ifndef __SMOOTHRELU_TYPES_H__
23 #define __SMOOTHRELU_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/homogen_numeric_table.h"
28 #include "services/daal_defines.h"
88 class DAAL_EXPORT Input :
public daal::algorithms::Input
94 Input(
const Input& other) : daal::algorithms::Input(other){}
103 data_management::NumericTablePtr
get(InputId id)
const;
110 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
119 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
126 class DAAL_EXPORT Result :
public daal::algorithms::Result
129 DECLARE_SERIALIZABLE_CAST(Result);
132 virtual ~Result() {};
142 template <
typename algorithmFPType>
143 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
150 data_management::NumericTablePtr
get(ResultId id)
const;
157 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
167 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
171 template<
typename Archive,
bool onDeserialize>
172 services::Status serialImpl(Archive *arch)
174 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
177 typedef services::SharedPtr<Result> ResultPtr;
181 using interface1::Input;
182 using interface1::Result;
183 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::math::smoothrelu::interface1::Result
Results obtained with the compute() method of the SmoothReLU algorithm in the batch processing mode...
Definition: smoothrelu_types.h:126
daal::algorithms::math::smoothrelu::InputId
InputId
Definition: smoothrelu_types.h:63
daal::algorithms::math::smoothrelu::value
Definition: smoothrelu_types.h:75
daal::algorithms::math::smoothrelu::defaultDense
Definition: smoothrelu_types.h:56
daal::algorithms::math::smoothrelu::ResultId
ResultId
Definition: smoothrelu_types.h:73
daal::algorithms::math::smoothrelu::data
Definition: smoothrelu_types.h:65
daal::algorithms::math::smoothrelu::Method
Method
Definition: smoothrelu_types.h:54