Provides methods for Xavier initializer computations in the batch processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations of Xavier initializer, double or float |
method | Computation method of the initializer, Xavier.Method |
- Enumerations
- xavier.Method Computation methods for the Xavier initializer
- References
-
- Aliases
Batch_Float64DefaultDense
is an alias of Batch(fptype=float64, method=daal.algorithms.neural_networks.initializers.xavier.defaultDense)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.initializers.xavier.defaultDense)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs Xavier initializer
- Variant 2
Constructs Xavier initializer by copying input objects and parameters of another Xavier 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 Xavier initializer
- Returns
- Status of computations
Returns a pointer to the newly allocated Xavier initializer with a copy of input objects and parameters of this Xavier 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 Xavier initializer
- Returns
- Structure that contains results of Xavier initializer
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store results of Xavier initializer
- Parameters
-
result | Structure to store results of Xavier initializer |
- Returns
- Status of computations
Parameters of the initializer
The documentation for this class was generated from the following file: