Computes the softmax function in the batch processing mode.
More...
◆ Batch() [1/2]
Constructs the softmax function by copying input objects of another softmax function
- Parameters
-
context | Context to manage the softmax function |
other | An function to be used as the source to initialize the input objects of the function |
◆ Batch() [2/2]
Constructs the softmax function
- Parameters
-
context | Context to manage the softmax function |
cls | Data type to use in intermediate computations for the softmax function, Double.class or Float.class |
method | The softmax function computation method, Method |
◆ clone()
Returns the newly allocated softmax function with a copy of input objects of this softmax function
- Parameters
-
context | Context to manage the softmax function |
- Returns
- The newly allocated function
◆ compute()
Computes the softmax function
- Returns
- The softmax function results
◆ setResult()
void setResult |
( |
Result |
result | ) |
|
Registers user-allocated memory to store the result of the softmax function
- Parameters
-
result | Structure to store the result of the softmax function |
◆ input
◆ method
Computation method for the function
The documentation for this class was generated from the following file: