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