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
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED Batch |
( |
| ) |
|
|
inline |
Default constructor
- Deprecated:
- This item will be removed in a future release.
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 |
- Deprecated:
- This item will be removed in a future release.
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
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
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the softmax function
- Returns
- Method of the softmax function
Returns the structure that contains the result of the softmax function
- Returns
- Structure that contains the result of the softmax function
services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
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
The documentation for this class was generated from the following file: