Typedef torch::nn::functional::MaxPool1dFuncOptions¶
Defined in File pooling.h
Typedef Documentation¶
-
using torch::nn::functional::MaxPool1dFuncOptions = MaxPool1dOptions¶
Options for
torch::nn::functional::max_pool1d
andtorch::nn::functional::max_pool1d_with_indices
.Example:
namespace F = torch::nn::functional; F::max_pool1d(x, F::MaxPool1dFuncOptions(3).stride(2));