Typedef torch::nn::functional::AvgPool1dFuncOptions¶
Defined in File pooling.h
Typedef Documentation¶
-
using torch::nn::functional::AvgPool1dFuncOptions = AvgPool1dOptions¶
Options for
torch::nn::functional::avg_pool1d
.See the documentation for
torch::nn::AvgPool1dOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::avg_pool1d(x, F::AvgPool1dFuncOptions(3).stride(2));