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