pulsatrix 1.1.0
Loading...
Searching...
No Matches
max_pool2d_module.hpp File Reference

2D max pooling with a stride and padding (non-overlapping windows by default). More...

#include <optional>
#include <vector>
#include "pulsatrix/module.hpp"
Include dependency graph for max_pool2d_module.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pulsatrix::MaxPool2DModule
 Max pooling, rank-4 (N, channels, H, W), matching Conv2DModule's convention, as PyTorch's MaxPool2d without dilation: out = (n + 2 padding - kernel) / stride + 1. Windows may overlap (stride < kernel), as in ResNet's stem (3x3, stride 2, padding 1); padded positions never win. No dilation or ceil mode. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

2D max pooling with a stride and padding (non-overlapping windows by default).