Shortcuts

Template Struct AdaptiveMaxPoolOptions

Page Contents

Struct Documentation

template<typename output_size_t>
struct torch::nn::AdaptiveMaxPoolOptions

Options for a D-dimensional adaptive maxpool module.

Public Functions

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

the target output size

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