Computes the results of the forward relu layer in the batch processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations for the forward relu layer, double or float |
method | The forward relu layer computation method, Method |
- Enumerations
- Method Computation methods for the forward relu layer
- forward.InputId Identifiers of input objects for the forward relu layer
- forward.ResultId Identifiers of result objects for the forward relu layer
- forward.ResultLayerDataId Identifiers of extra results computed by the forward relu layer
- LayerDataId Identifiers of collection in result objects for the forward relu layer
- References
-
- Deprecated:
- This item will be removed in a future release.
- Aliases
Batch_Float64DefaultDense
is an alias of Batch(fptype=float64, method=daal.algorithms.neural_networks.layers.relu.defaultDense)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.layers.relu.defaultDense)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Default constructor
- Deprecated:
- This item will be removed in a future release.
- Variant 2
Constructs a forward relu layer in the batch processing mode and initializes its parameter with the provided parameter
- Parameters
-
parameter | Parameter to initialize the parameter of the layer |
- Deprecated:
- This item will be removed in a future release.
- Variant 3
Constructs a forward relu layer by copying input objects and parameters of another forward relu layer in the batch processing mode
- Parameters
-
other | Algorithm to use as the source to initialize the input objects and parameters of the algorithm |
- Deprecated:
- This item will be removed in a future release.
def allocateResult |
( |
|
self | ) |
|
Allocates memory to store the result of the forward relu layer
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
Returns a pointer to the newly allocated forward relu layer with a copy of input objects of this forward relu layer
- Returns
- Pointer to the newly allocated algorithm
- Deprecated:
- This item will be removed in a future release.
def getLayerInput |
( |
|
self | ) |
|
Returns the structure that contains input objects of the forward relu layer
- Returns
- Structure that contains input objects of the forward relu layer
- Deprecated:
- This item will be removed in a future release.
def getLayerParameter |
( |
|
self | ) |
|
Returns the structure that contains parameters of the forward relu layer
- Returns
- Structure that contains parameters of the forward relu layer
- Deprecated:
- This item will be removed in a future release.
def getLayerResult |
( |
|
self | ) |
|
Returns the structure that contains results of the forward relu layer
- Returns
- Structure that contains results of the forward relu layer
- Deprecated:
- This item will be removed in a future release.
Returns method of the forward relu layer
- Returns
- Method of the forward relu layer
- Deprecated:
- This item will be removed in a future release.
Returns the structure that contains the result of the forward relu layer
- Returns
- Structure that contains the result of forward relu layer
- Deprecated:
- This item will be removed in a future release.
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store results of the forward relu layer
- Parameters
-
result | Structure to store results of the forward relu layer |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
Input objects of the layer
The documentation for this class was generated from the following file: