Typedef torch::nn::ConstantPad2dOptions¶
Defined in File padding.h
Typedef Documentation¶
-
using torch::nn::ConstantPad2dOptions = ConstantPadOptions<2>¶
ConstantPadOptions
specialized for theConstantPad2d
module.Example:
ConstantPad2d model(ConstantPad2dOptions({3, 0, 2, 1}, 3.5));