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