Typedef torch::nn::functional::AdaptiveMaxPool2dFuncOptions¶
Defined in File pooling.h
Typedef Documentation¶
-
using torch::nn::functional::AdaptiveMaxPool2dFuncOptions = AdaptiveMaxPool2dOptions¶
Options for
torch::nn::functional::adaptive_max_pool2d
andtorch::nn::functional::adaptive_max_pool2d_with_indices
Example:
namespace F = torch::nn::functional; F::adaptive_max_pool2d(x, F::AdaptiveMaxPool2dFuncOptions(3));