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