Class DenseOptions
Encapsulates additional options for dense layers.
class DenseOptions
;
Example
//Create a DenseOptions object with the default parameters
auto opts = new DenseOptions()
.weightInit(heGaussianInit())
.biasInit(constantInit(0.0f))
.weightProj(null)
.biasProj(null)
.weightDecay(0.0f)
.useBias(true);
//Options can also be read back again later
assert(opts .weightDecay == 0.0f);
assert(opts .useBias == true);