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