Class ReplicationPad1dImpl¶
Defined in File padding.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ReplicationPadImpl< 1, ReplicationPad1dImpl >
(Template Class ReplicationPadImpl)
Class Documentation¶
-
class ReplicationPad1dImpl : public torch::nn::ReplicationPadImpl<1, ReplicationPad1dImpl>¶
Applies ReplicationPad over a 1-D input.
See https://pytorch.org/docs/main/nn.html#torch.nn.ReplicationPad1d to learn about the exact behavior of this module.
See the documentation for
torch::nn::ReplicationPad1dOptions
class to learn what constructor arguments are supported for this module.Example:
ReplicationPad1d model(ReplicationPad1dOptions({3, 1}));