Function torch::nn::functional::fractional_max_pool2d¶
Defined in File pooling.h
Function Documentation¶
-
inline Tensor torch::nn::functional::fractional_max_pool2d(const Tensor &input, const FractionalMaxPool2dFuncOptions &options)¶
See the documentation for
torch::nn::functional::FractionalMaxPool2dFuncOptions
class to learn what optional arguments are supported for this functional.Example:
namespace F = torch::nn::functional; F::fractional_max_pool2d(x, F::FractionalMaxPool2dFuncOptions(3).output_size(2));