Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Parameters for the maximum 2D pooling layer. More...
Public Member Functions | |
def | __init__ |
![]() | |
def | __init__ |
![]() | |
def | __init__ |
![]() | |
def | __init__ |
def | check |
Additional Inherited Members | |
![]() | |
strides = ... | |
paddings = ... | |
kernelSizes = ... | |
indices = ... | |
![]() | |
weightsInitializer = ... | |
biasesInitializer = ... | |
predictionStage = ... | |
propagateGradient = ... | |
weightsAndBiasesInitialized = ... | |
allowInplaceComputation = ... | |
def __init__ | ( | self, | |
firstIndex, | |||
secondIndex, | |||
firstKernelSize = 2 , |
|||
secondKernelSize = 2 , |
|||
firstStride = 2 , |
|||
secondStride = 2 , |
|||
firstPadding = 0 , |
|||
secondPadding = 0 |
|||
) |
Constructs the parameters of 2D pooling layer
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 maximum element is selected |
secondKernelSize | Size of the second dimension of 2D subtensor for which the maximum element is selected |
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 |
For more complete information about compiler optimizations, see our Optimization Notice.