22 #ifndef __SOFTMAX_TYPES_H__
23 #define __SOFTMAX_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/homogen_numeric_table.h"
28 #include "services/daal_defines.h"
88 class DAAL_EXPORT Input :
public daal::algorithms::Input
95 Input(
const Input& other) : daal::algorithms::Input(other){}
104 data_management::NumericTablePtr
get(InputId id)
const;
111 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
120 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
127 class DAAL_EXPORT Result :
public daal::algorithms::Result
130 DECLARE_SERIALIZABLE_CAST(Result);
134 virtual ~Result() {};
144 template <
typename algorithmFPType>
145 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
152 data_management::NumericTablePtr
get(ResultId id)
const;
159 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
169 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
173 template<
typename Archive,
bool onDeserialize>
174 services::Status serialImpl(Archive *arch)
176 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
179 typedef services::SharedPtr<Result> ResultPtr;
183 using interface1::Input;
184 using interface1::Result;
185 using interface1::ResultPtr;
daal::algorithms::math::softmax::Method
Method
Definition: softmax_types.h:54
daal
Definition: algorithm_base_common.h:31
daal::algorithms::math::softmax::ResultId
ResultId
Definition: softmax_types.h:73
daal::algorithms::math::softmax::InputId
InputId
Definition: softmax_types.h:63
daal::algorithms::math::softmax::data
Definition: softmax_types.h:65
daal::algorithms::math::softmax::interface1::Result
Results obtained with the compute() method of the softmax function in the batch processing mode...
Definition: softmax_types.h:127
daal::algorithms::math::softmax::defaultDense
Definition: softmax_types.h:56
daal::algorithms::math::softmax::value
Definition: softmax_types.h:75