Provides methods for uniform initializer computations in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::initializers::uniform::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of uniform initializer, double or float |
method | Computation method of the initializer, uniform::Method |
- Enumerations
-
- References
-
Batch |
( |
double |
a = -0.5 , |
|
|
double |
b = 0.5 |
|
) |
| |
|
inline |
Constructs uniform initializer
- Parameters
-
[in] | a | Left bound a |
[in] | b | Right bound b |
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs uniform initializer by copying input objects and parameters of another uniform initializer
- Parameters
-
[in] | other | An initializer to be used as the source to initialize the input objects and parameters of this initializer |
virtual services::Status allocateResult |
( |
| ) |
|
|
inlinevirtual |
Allocates memory to store the result of the uniform initializer
- Returns
- Status of computations
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated uniform initializer with a copy of input objects and parameters of this uniform initializer
- Returns
- Pointer to the newly allocated initializer
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the initializer
- Returns
- Method of the initializer
virtual ParameterType* getParameter |
( |
| ) |
|
|
inlinevirtual |
Get parameters of the initializer
- Returns
- Parameters of the initializer
Returns the structure that contains results of uniform initializer
- Returns
- Structure that contains results of uniform initializer
services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
Registers user-allocated memory to store results of uniform initializer
- Parameters
-
[in] | result | Structure to store results of uniform initializer |
- Returns
- Status of computations
Parameters of the initializer
The documentation for this class was generated from the following file: