24 #ifndef __RELU_TYPES_H__
25 #define __RELU_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/numeric_table.h"
29 #include "data_management/data/csr_numeric_table.h"
30 #include "data_management/data/homogen_numeric_table.h"
31 #include "services/daal_defines.h"
93 class DAAL_EXPORT Input :
public daal::algorithms::Input
106 Input(
const Input& other) : daal::algorithms::Input(other){}
111 DAAL_DEPRECATED_VIRTUAL
virtual ~Input() {}
118 data_management::NumericTablePtr
get(InputId id)
const;
125 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
134 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
142 class DAAL_EXPORT Result :
public daal::algorithms::Result
145 DECLARE_SERIALIZABLE_CAST(Result);
155 DAAL_DEPRECATED_VIRTUAL
virtual ~Result() {};
165 template <
typename algorithmFPType>
166 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
173 data_management::NumericTablePtr
get(ResultId id)
const;
180 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
190 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
194 template<
typename Archive,
bool onDeserialize>
195 services::Status serialImpl(Archive *arch)
197 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
200 typedef services::SharedPtr<Result> ResultPtr;
204 using interface1::Input;
205 using interface1::Result;
206 using interface1::ResultPtr;
daal::algorithms::math::relu::interface1::Input
Input objects for the rectified linear function
Definition: relu_types.h:93
daal::algorithms::math::relu::InputId
InputId
Definition: relu_types.h:67
daal::algorithms::math::relu::fastCSR
Definition: relu_types.h:60
daal::algorithms::math::relu::data
Definition: relu_types.h:69
daal::algorithms::math::relu::ResultId
ResultId
Definition: relu_types.h:77
daal::algorithms::math::relu::defaultDense
Definition: relu_types.h:59
daal::algorithms::math::relu::interface1::Input::Input
Input(const Input &other)
Definition: relu_types.h:106
daal::algorithms::math::relu::value
Definition: relu_types.h:79
daal::algorithms::math::relu::Method
Method
Definition: relu_types.h:57
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:142