48 #ifndef __SMOOTHRELU_TYPES_H__
49 #define __SMOOTHRELU_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/numeric_table.h"
53 #include "data_management/data/homogen_numeric_table.h"
54 #include "services/daal_defines.h"
114 class DAAL_EXPORT Input :
public daal::algorithms::Input
120 Input(
const Input& other) : daal::algorithms::Input(other){}
129 data_management::NumericTablePtr
get(InputId id)
const;
136 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
145 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
152 class DAAL_EXPORT Result :
public daal::algorithms::Result
155 DECLARE_SERIALIZABLE_CAST(Result);
158 virtual ~Result() {};
168 template <
typename algorithmFPType>
169 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
176 data_management::NumericTablePtr
get(ResultId id)
const;
183 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
193 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
197 template<
typename Archive,
bool onDeserialize>
198 services::Status serialImpl(Archive *arch)
200 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
203 typedef services::SharedPtr<Result> ResultPtr;
207 using interface1::Input;
208 using interface1::Result;
209 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:57
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:152
daal::algorithms::math::smoothrelu::InputId
InputId
Definition: smoothrelu_types.h:89
daal::algorithms::math::smoothrelu::value
Definition: smoothrelu_types.h:101
daal::algorithms::math::smoothrelu::defaultDense
Definition: smoothrelu_types.h:82
daal::algorithms::math::smoothrelu::ResultId
ResultId
Definition: smoothrelu_types.h:99
daal::algorithms::math::smoothrelu::data
Definition: smoothrelu_types.h:91
daal::algorithms::math::smoothrelu::Method
Method
Definition: smoothrelu_types.h:80