Computes the softmax function in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::math::softmax::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations for the softmax function, double or float |
method | the softmax function computation method |
- Enumerations
- Method Computation methods for the softmax function
- InputId Identifiers of input objects for the softmax function
- ResultId Result identifiers for the softmax function
◆ Batch() [1/2]
◆ Batch() [2/2]
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs the softmax function by copying input objects of another softmax function
- Parameters
-
[in] | other | function to be used as the source to initialize the input objects of the softmax function |
◆ clone()
Returns a pointer to a newly allocated softmax function with a copy of input objects of this softmax function
- Returns
- Pointer to the newly allocated softmax function
◆ getMethod()
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the softmax function
- Returns
- Method of the softmax function
Implements AlgorithmIface.
◆ getResult()
Returns the structure that contains the result of the softmax function
- Returns
- Structure that contains the result of the softmax function
◆ setResult()
Registers user-allocated memory to store the result of the softmax function
- Parameters
-
[in] | result | Structure to store the result of the softmax function |
- Returns
- Status of computation
◆ input
The documentation for this class was generated from the following file: