24 #ifndef __SMOOTHRELU_TYPES_H__
25 #define __SMOOTHRELU_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/numeric_table.h"
29 #include "data_management/data/homogen_numeric_table.h"
30 #include "services/daal_defines.h"
91 class DAAL_EXPORT Input :
public daal::algorithms::Input
103 Input(
const Input& other) : daal::algorithms::Input(other){}
108 DAAL_DEPRECATED_VIRTUAL
virtual ~Input() {}
115 data_management::NumericTablePtr
get(InputId id)
const;
122 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
131 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
139 class DAAL_EXPORT Result :
public daal::algorithms::Result
142 DECLARE_SERIALIZABLE_CAST(Result);
151 DAAL_DEPRECATED_VIRTUAL
virtual ~Result() {};
161 template <
typename algorithmFPType>
162 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
169 data_management::NumericTablePtr
get(ResultId id)
const;
176 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
186 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
190 template<
typename Archive,
bool onDeserialize>
191 services::Status serialImpl(Archive *arch)
193 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
196 typedef services::SharedPtr<Result> ResultPtr;
200 using interface1::Input;
201 using interface1::Result;
202 using interface1::ResultPtr;
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:139
daal::algorithms::math::smoothrelu::InputId
InputId
Definition: smoothrelu_types.h:65
daal::algorithms::math::smoothrelu::data
Definition: smoothrelu_types.h:67
daal::algorithms::math::smoothrelu::ResultId
ResultId
Definition: smoothrelu_types.h:75
daal::algorithms::math::smoothrelu::Method
Method
Definition: smoothrelu_types.h:56
daal::algorithms::math::smoothrelu::defaultDense
Definition: smoothrelu_types.h:58
daal::algorithms::math::smoothrelu::interface1::Input::Input
Input(const Input &other)
Definition: smoothrelu_types.h:103
daal::algorithms::math::smoothrelu::interface1::Input
Input parameters for the SmoothReLU algorithm
Definition: smoothrelu_types.h:91
daal::algorithms::math::smoothrelu::value
Definition: smoothrelu_types.h:77