Class LPPool2dImpl#
Defined in File pooling.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::LPPoolImpl< 2, LPPool2dImpl >(Template Class LPPoolImpl)
Class Documentation#
- 
class LPPool2dImpl : public torch::nn::LPPoolImpl<2, LPPool2dImpl>#
 Applies the LPPool2d function element-wise.
See https://pytorch.org/docs/main/nn.html#torch.nn.LPPool2d to learn about the exact behavior of this module.
See the documentation for
torch::nn::LPPool2dOptionsclass to learn what constructor arguments are supported for this module.Example:
LPPool2d model(LPPool2dOptions(1, std::vector<int64_t>({3, 4})).stride({5, 6}).ceil_mode(true));
Public Functions
- 
Tensor forward(const Tensor &input)#
 
- 
Tensor forward(const Tensor &input)#