AvgPool2d
Mean over each sliding window, per channel.
class AvgPool2d : Module— python/vkml/nn.py:795
A stateless wrapper over avg_pool2d, holding only the window geometry.
Construction¶
__init__¶
Forward¶
forward¶
def forwardself, x: V.Tensor -> V.Tensor— python/vkml/nn.py:802
Internals¶
__repr__¶
See also avg_pool2d, MaxPool2d