48 #ifndef __TANH_TYPES_H__ 49 #define __TANH_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::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::interface1::Result
Base class to represent final results of the computation. Algorithm-specific final results are repres...
Definition: algorithm_types.h:331
daal::algorithms::math::tanh::ResultId
ResultId
Definition: tanh_types.h:101
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::math::tanh::Method
Method
Definition: tanh_types.h:81
daal::algorithms::math::tanh::fastCSR
Definition: tanh_types.h:84
daal::algorithms::math::tanh::interface1::Result
Result obtained with the compute() method of the hyperbolic tangent function in the batch processing ...
Definition: tanh_types.h:155
daal::algorithms::math::tanh::data
Definition: tanh_types.h:93
daal::algorithms::math::tanh::defaultDense
Definition: tanh_types.h:83
daal::algorithms::math::tanh::InputId
InputId
Definition: tanh_types.h:91
daal::algorithms::math::tanh::value
Definition: tanh_types.h:103