48 #ifndef __RELU_TYPES_H__
49 #define __RELU_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/numeric_table.h"
53 #include "data_management/data/csr_numeric_table.h"
54 #include "data_management/data/homogen_numeric_table.h"
55 #include "services/daal_defines.h"
116 class DAAL_EXPORT Input :
public daal::algorithms::Input
123 Input(
const Input& other) : daal::algorithms::Input(other){}
132 data_management::NumericTablePtr
get(InputId id)
const;
139 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
148 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
155 class DAAL_EXPORT Result :
public daal::algorithms::Result
158 DECLARE_SERIALIZABLE_CAST(Result);
162 virtual ~Result() {};
172 template <
typename algorithmFPType>
173 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
180 data_management::NumericTablePtr
get(ResultId id)
const;
187 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
197 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
201 template<
typename Archive,
bool onDeserialize>
202 services::Status serialImpl(Archive *arch)
204 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
207 typedef services::SharedPtr<Result> ResultPtr;
211 using interface1::Input;
212 using interface1::Result;
213 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:57
daal::algorithms::math::relu::value
Definition: relu_types.h:103
daal::algorithms::math::relu::InputId
InputId
Definition: relu_types.h:91
daal::algorithms::math::relu::interface1::Result
Results obtained with the compute() method of the rectified linear function in the batch processing m...
Definition: relu_types.h:155
daal::algorithms::math::relu::Method
Method
Definition: relu_types.h:81
daal::algorithms::math::relu::data
Definition: relu_types.h:93
daal::algorithms::math::relu::fastCSR
Definition: relu_types.h:84
daal::algorithms::math::relu::ResultId
ResultId
Definition: relu_types.h:101
daal::algorithms::math::relu::defaultDense
Definition: relu_types.h:83