Typedef torch::nn::functional::AdaptiveMaxPool1dFuncOptions¶
Defined in File pooling.h
Typedef Documentation¶
-
using torch::nn::functional::AdaptiveMaxPool1dFuncOptions = AdaptiveMaxPool1dOptions¶
Options for
torch::nn::functional::adaptive_max_pool1d
andtorch::nn::functional::adaptive_max_pool1d_with_indices
Example:
namespace F = torch::nn::functional; F::adaptive_max_pool1d(x, F::AdaptiveMaxPool1dFuncOptions(3));