48 #ifndef __SOFTMAX_TYPES_H__
49 #define __SOFTMAX_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/numeric_table.h"
53 #include "data_management/data/homogen_numeric_table.h"
54 #include "services/daal_defines.h"
114 class DAAL_EXPORT Input :
public daal::algorithms::Input
121 Input(
const Input& other) : daal::algorithms::Input(other){}
130 data_management::NumericTablePtr
get(InputId id)
const;
137 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
146 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
153 class DAAL_EXPORT Result :
public daal::algorithms::Result
156 DECLARE_SERIALIZABLE_CAST(Result);
160 virtual ~Result() {};
170 template <
typename algorithmFPType>
171 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
178 data_management::NumericTablePtr
get(ResultId id)
const;
185 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
195 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
199 template<
typename Archive,
bool onDeserialize>
200 services::Status serialImpl(Archive *arch)
202 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
205 typedef services::SharedPtr<Result> ResultPtr;
209 using interface1::Input;
210 using interface1::Result;
211 using interface1::ResultPtr;
daal::algorithms::math::softmax::Method
Method
Definition: softmax_types.h:80
daal
Definition: algorithm_base_common.h:57
daal::algorithms::math::softmax::ResultId
ResultId
Definition: softmax_types.h:99
daal::algorithms::math::softmax::InputId
InputId
Definition: softmax_types.h:89
daal::algorithms::math::softmax::data
Definition: softmax_types.h:91
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:153
daal::algorithms::math::softmax::defaultDense
Definition: softmax_types.h:82
daal::algorithms::math::softmax::value
Definition: softmax_types.h:101