Provides methods for the backward stochastic 2D pooling layer in the batch processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations for the backward stochastic 2D pooling layer, double or float |
method | Backward stochastic 2D pooling layer method, stochastic_pooling2d.Method |
- Enumerations
- Method Computation methods for the backward stochastic 2D pooling layer
- backward.InputId Identifiers of input objects for the backward stochastic 2D pooling layer
- LayerDataId Identifiers of collection in input objects for the backward stochastic 2D pooling layer
- backward.InputLayerDataId Identifiers of extra results computed by the forward stochastic 2D pooling layer
- backward.ResultId Identifiers of result objects for the backward stochastic 2D pooling 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.stochastic_pooling2d.defaultDense)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.layers.stochastic_pooling2d.defaultDense)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs backward stochastic 2D pooling layer with the provided parameters
- Parameters
-
nDimensions | Number of dimensions in input data tensor |
- Deprecated:
- This item will be removed in a future release.
- Variant 2
Constructs a backward stochastic 2D pooling 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 backward stochastic 2D pooling layer by copying input objects and parameters of another backward stochastic 2D pooling layer in the batch processing mode
- Parameters
-
other | Algorithm to use as the source to initialize the input objects and parameters of the layer |
- Deprecated:
- This item will be removed in a future release.
def allocateResult |
( |
|
self | ) |
|
Allocates memory to store the result of the backward stochastic 2D pooling layer
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
Returns a pointer to a newly allocated backward stochastic 2D pooling layer with a copy of the input objects and parameters for this backward stochastic 2D pooling layer in the batch processing mode
- Returns
- Pointer to the newly allocated layer
- Deprecated:
- This item will be removed in a future release.
def getLayerInput |
( |
|
self | ) |
|
Returns the structure that contains the input objects of backward stochastic 2D pooling layer
- Returns
- Structure that contains the input objects of backward stochastic 2D pooling layer
- Deprecated:
- This item will be removed in a future release.
def getLayerParameter |
( |
|
self | ) |
|
Returns the structure that contains the parameters of the backward stochastic 2D pooling layer
- Returns
- Structure that contains the parameters of the backward stochastic 2D pooling layer
- Deprecated:
- This item will be removed in a future release.
def getLayerResult |
( |
|
self | ) |
|
Returns the structure that contains result of the backward stochastic 2D pooling layer
- Returns
- Structure that contains result of the backward stochastic 2D pooling layer
- Deprecated:
- This item will be removed in a future release.
Returns the method of the layer
- Returns
- Method of the layer
- Deprecated:
- This item will be removed in a future release.
Returns the structure that contains the result of the backward stochastic 2D pooling layer
- Returns
- Structure that contains the result of the backward stochastic 2D pooling layer
- Deprecated:
- This item will be removed in a future release.
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store the result of the backward stochastic 2D pooling layer
- Parameters
-
result | Structure to store the result of the backward stochastic 2D pooling layer |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
Backward stochastic 2D pooling layer input
The documentation for this class was generated from the following file:
- stochastic_pooling2d/backward.py