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