Shortcuts

Template Struct AdaptiveMaxPoolOptions

Page Contents

Struct Documentation

template<typename output_size_t>
struct AdaptiveMaxPoolOptions

Options for a D-dimensional adaptive maxpool module.

Public Functions

inline AdaptiveMaxPoolOptions(output_size_t output_size)
inline auto output_size(const output_size_t &new_output_size) -> decltype(*this)

the target output size

inline auto output_size(output_size_t &&new_output_size) -> decltype(*this)
inline const output_size_t &output_size() const noexcept
inline output_size_t &output_size() 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