Typedef torch::nn::ZeroPad2dOptions#
Defined in File padding.h
Typedef Documentation#
-
using torch::nn::ZeroPad2dOptions = ZeroPadOptions<2>#
ZeroPadOptions
specialized for theZeroPad2d
module.Example:
ConstantPad2d model(ConstantPad2dOptions({1, 1, 2, 0});