Provides methods to access the result obtained with the compute() method of the forward stochastic 2D pooling layer.
More...
- Deprecated:
- This item will be removed in a future release.
Default constructor
- Deprecated:
- This item will be removed in a future release.
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store the result of the forward stochastic 2D pooling layer
- Parameters
-
input | Pointer to an object containing the input data |
parameter | Parameter of the forward stochastic 2D pooling layer |
method | Computation method for the layer |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
def check |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks the result of the forward stochastic 2D pooling layer
- Parameters
-
input | Input of the layer |
parameter | Parameter of the layer |
method | Computation method of the layer |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
Returns the result of the forward stochastic 2D pooling layer
- Parameters
-
id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
def getLayerData |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the result of the forward stochastic 2D pooling layer
- Parameters
-
id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
def set |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the result of the forward stochastic 2D pooling layer
- Parameters
-
id | Identifier of the result |
ptr | Result |
- Deprecated:
- This item will be removed in a future release.
def setLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the result of the forward stochastic 2D pooling layer
- Parameters
-
id | Identifier of the result |
ptr | Result |
- Deprecated:
- This item will be removed in a future release.
The documentation for this class was generated from the following file:
- stochastic_pooling2d/forward.py