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