Shortcuts

Class LPPool1dImpl

Inheritance Relationships

Base Type

Class Documentation

class torch::nn::LPPool1dImpl : public torch::nn::LPPoolImpl<1, LPPool1dImpl>

Applies the LPPool1d function element-wise.

See https://pytorch.org/docs/master/nn.html#torch.nn.LPPool1d to learn about the exact behavior of this module.

See the documentation for torch::nn::LPPool1dOptions class to learn what constructor arguments are supported for this module.

Example:

LPPool1d model(LPPool1dOptions(1, 2).stride(5).ceil_mode(true));

Public Functions

Tensor forward(const Tensor &input)

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