Rate this Page

Typedef torch::nn::functional::FoldFuncOptions#

Typedef Documentation#

using torch::nn::functional::FoldFuncOptions = FoldOptions#

Options for torch::nn::functional::fold.

See the documentation for torch::nn::FoldOptions class to learn what arguments are supported.

Example:

namespace F = torch::nn::functional;
F::fold(input, F::FoldFuncOptions({3, 2}, {2, 2}));