Parameters for the forward and backward two-dimensional pooling layers.
More...
- Deprecated:
- This item will be removed in a future release.
- Deprecated:
- This item will be removed in a future release.
def __init__ |
( |
|
self, |
|
|
|
firstIndex, |
|
|
|
secondIndex, |
|
|
|
firstKernelSize = 2 , |
|
|
|
secondKernelSize = 2 , |
|
|
|
firstStride = 2 , |
|
|
|
secondStride = 2 , |
|
|
|
firstPadding = 0 , |
|
|
|
secondPadding = 0 |
|
) |
| |
Constructs the parameters of 2D pooling layer
- Parameters
-
firstIndex | Index of the first of two dimensions on which the pooling is performed |
secondIndex | Index of the second of two dimensions on which the pooling is performed |
firstKernelSize | Size of the first dimension of 2D subtensor for which the element is computed |
secondKernelSize | Size of the second dimension of 2D subtensor for which the element is computed |
firstStride | Interval over the first dimension on which the pooling is performed |
secondStride | Interval over the second dimension on which the pooling is performed |
firstPadding | Number of data elements to implicitly add to the the first dimension of the 2D subtensor on which the pooling is performed |
secondPadding | Number of data elements to implicitly add to the the second dimension of the 2D subtensor on which the pooling is performed |
- Deprecated:
- This item will be removed in a future release.
Indices of the two dimensions on which pooling is performed
Data structure representing the size of the 2D subtensor
Data structure representing the number of data elements to implicitly add
Data structure representing the intervals on which the subtensors for pooling are computed
The documentation for this class was generated from the following file:
- algorithms/neural_networks/layers/pooling2d/__init__.py