Typedef torch::nn::functional::FractionalMaxPool2dFuncOptions¶
Defined in File pooling.h
Typedef Documentation¶
-
using torch::nn::functional::FractionalMaxPool2dFuncOptions = FractionalMaxPool2dOptions¶
Options for
torch::nn::functional::fractional_max_pool2d
andtorch::nn::functional::fractional_max_pool2d_with_indices
Example:
namespace F = torch::nn::functional; F::fractional_max_pool2d(x, F::FractionalMaxPool2dFuncOptions(3).output_size(2));