22 #ifndef __RELU_TYPES_H__
23 #define __RELU_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/csr_numeric_table.h"
28 #include "data_management/data/homogen_numeric_table.h"
29 #include "services/daal_defines.h"
90 class DAAL_EXPORT Input :
public daal::algorithms::Input
97 Input(
const Input& other) : daal::algorithms::Input(other){}
106 data_management::NumericTablePtr
get(InputId id)
const;
113 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
122 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
129 class DAAL_EXPORT Result :
public daal::algorithms::Result
132 DECLARE_SERIALIZABLE_CAST(Result);
136 virtual ~Result() {};
146 template <
typename algorithmFPType>
147 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
154 data_management::NumericTablePtr
get(ResultId id)
const;
161 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
171 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
175 template<
typename Archive,
bool onDeserialize>
176 services::Status serialImpl(Archive *arch)
178 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
181 typedef services::SharedPtr<Result> ResultPtr;
185 using interface1::Input;
186 using interface1::Result;
187 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::math::relu::value
Definition: relu_types.h:77
daal::algorithms::math::relu::InputId
InputId
Definition: relu_types.h:65
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:129
daal::algorithms::math::relu::Method
Method
Definition: relu_types.h:55
daal::algorithms::math::relu::data
Definition: relu_types.h:67
daal::algorithms::math::relu::fastCSR
Definition: relu_types.h:58
daal::algorithms::math::relu::ResultId
ResultId
Definition: relu_types.h:75
daal::algorithms::math::relu::defaultDense
Definition: relu_types.h:57