Shortcuts

Typedef torch::nn::functional::UnfoldFuncOptions

Typedef Documentation

using torch::nn::functional::UnfoldFuncOptions = UnfoldOptions

Options for torch::nn::functional::unfold.

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

Example:

namespace F = torch::nn::functional;
F::unfold(input, F::UnfoldFuncOptions({2, 2}).padding(1).stride(2));

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources