Class Conv2DOptions

Encapsulates the additional options for a Layer created with conv2D.

class Conv2DOptions ;

Example

//Creates a Conv2DOptions object with the default parameter values
auto opts = new Conv2DOptions()
           .padding([0, 0])
           .stride([1, 1])
           .filterInit(heGaussianInit())
           .biasInit(constantInit(0.0f))
           .filterProj(null)
           .biasProj(null)
           .weightDecay(0.0f)
           .useBias(true);

//The fields can also be accessed again later
assert(opts.padding == [0, 0]);
assert(opts.stride == [1, 1]);