Provides methods for gaussian initializer computations in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::initializers::gaussian::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of gaussian initializer, double or float |
method | Computation method of the initializer, gaussian::Method |
- Enumerations
-
- References
-
◆ Batch() [1/2]
Batch |
( |
double |
a = 0 , |
|
|
double |
sigma = 0.01 |
|
) |
| |
|
inline |
Constructs gaussian initializer
- Parameters
-
[in] | a | Mean |
[in] | sigma | Standard deviation |
◆ Batch() [2/2]
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs gaussian initializer by copying input objects and parameters of another gaussian initializer
- Parameters
-
[in] | other | An initializer to be used as the source to initialize the input objects and parameters of this initializer |
◆ allocateResult()
Allocates memory to store the result of the gaussian initializer
- Returns
- Status of computations
Implements Algorithm< mode >.
◆ clone()
Returns a pointer to the newly allocated gaussian initializer with a copy of input objects and parameters of this gaussian initializer
- Returns
- Pointer to the newly allocated initializer
◆ getMethod()
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the initializer
- Returns
- Method of the initializer
Implements AlgorithmIface.
◆ getParameter()
Get parameters of the initializer
- Returns
- Parameters of the initializer
Implements InitializerIface.
◆ getResult()
Returns the structure that contains results of gaussian initializer
- Returns
- Structure that contains results of gaussian initializer
◆ setResult()
Registers user-allocated memory to store results of gaussian initializer
- Parameters
-
[in] | result | Structure to store results of gaussian initializer |
- Returns
- Status of computations
◆ parameter
Parameters of the initializer
The documentation for this class was generated from the following file: