Shortcuts

Struct PixelUnshuffleOptions

Page Contents

Struct Documentation

struct PixelUnshuffleOptions

Options for the PixelUnshuffle module.

Example:

PixelUnshuffle model(PixelUnshuffleOptions(5));

Public Functions

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

Factor to decrease spatial resolution by.

inline auto downscale_factor(int64_t &&new_downscale_factor) -> decltype(*this)
inline const int64_t &downscale_factor() const noexcept
inline 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