AvgPool2d
constructor(kernelSize: Pair<Int, Int>, stride: Pair<Int, Int> = kernelSize, padding: Pair<Int, Int> = 0 to 0, countIncludePad: Boolean = true, name: String = "AvgPool2d")(source)
Parameters
kernelSize
Size of the pooling window (height, width)
stride
Stride of the pooling operation (default: same as kernelSize)
padding
Padding added to all sides of the input (default: 0, 0)
countIncludePad
Whether to include padding in the average calculation (default: true)
name
Name of the module