Provides methods for uniform initializer computations in the batch processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations of uniform initializer, double or float |
method | Computation method of the initializer, uniform.Method |
- Enumerations
- uniform.Method Computation methods for the uniform initializer
- References
-
- Aliases
Batch_Float64DefaultDense
is an alias of Batch(fptype=float64, method=daal.algorithms.neural_networks.initializers.uniform.defaultDense)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.initializers.uniform.defaultDense)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs uniform initializer
- Parameters
-
a | Left bound a |
b | Right bound b |
- Variant 2
Constructs uniform initializer
- Parameters
-
a | Left bound a |
b | Right bound b |
- Variant 3
Constructs uniform initializer
- Parameters
-
a | Left bound a |
b | Right bound b |
- Variant 4
Constructs uniform initializer by copying input objects and parameters of another uniform initializer
- Parameters
-
other | An initializer to be used as the source to initialize the input objects and parameters of this initializer |
def allocateResult |
( |
|
self | ) |
|
Allocates memory to store the result of the uniform initializer
- Returns
- Status of computations
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
Returns method of the initializer
- Returns
- Method of the initializer
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
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store results of uniform initializer
- Parameters
-
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:
- neural_networks/initializers/uniform.py