Shortcuts

Struct PixelUnshuffleOptions

Page Contents

Struct Documentation

struct torch::nn::PixelUnshuffleOptions

Options for the PixelUnshuffle module.

Example:

PixelUnshuffle model(PixelUnshuffleOptions(5));

Public Functions

PixelUnshuffleOptions(int64_t downscale_factor)
auto downscale_factor(const int64_t &new_downscale_factor) -> decltype(*this)

Factor to decrease spatial resolution by.

auto downscale_factor(int64_t &&new_downscale_factor) -> decltype(*this)
const int64_t &downscale_factor() const noexcept
int64_t &downscale_factor() noexcept

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