Learn R Programming

darch (version 0.12.0)

generateWeightsHeUniform: He uniform weight initialization

Description

This function is used to generate random weights and biases using He uniform weight initialization as described in He et al., http://arxiv.org/abs/1502.01852.

Usage

generateWeightsHeUniform(numUnits1, numUnits2, ...)

Arguments

numUnits1

Number of units in the lower layer.

numUnits2

Number of units in the upper layer.

...

Additional parameters, used for parameter resolution and passed to generateWeightsUniform.

Value

Weight matrix.

References

He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun (2015). "Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification". In: CoRR abs/1502.01852. URL: http://arxiv.org/abs/1502.01852

See Also

Other weight generation functions: generateWeightsGlorotNormal, generateWeightsGlorotUniform, generateWeightsHeNormal, generateWeightsNormal, generateWeightsUniform

Examples

Run this code
# NOT RUN {
data(iris)
model <- darch(Species ~ ., iris, generateWeightsFunction = "generateWeightsHeUniform")
# }

Run the code above in your browser using DataLab