Rate this Page

Typedef torch::nn::Conv2dOptions#

Typedef Documentation#

using torch::nn::Conv2dOptions = ConvOptions<2>#

ConvOptions specialized for the Conv2d module.

Example:

Conv2d model(Conv2dOptions(3, 2, 3).stride(1).bias(false));