Typedef torch::nn::functional::MaxPool2dFuncOptions¶
Defined in File pooling.h
Typedef Documentation¶
-
using torch::nn::functional::MaxPool2dFuncOptions = MaxPool2dOptions¶
Options for
torch::nn::functional::max_pool2d
andtorch::nn::functional::max_pool2d_with_indices
.Example:
namespace F = torch::nn::functional; F::max_pool2d(x, F::MaxPool2dFuncOptions(3).stride(2));