org.apache.clojure-mxnet.initializer
apply
(apply initializer name arr)
init-weight
(init-weight initializer name arr)
normal
(normal sigma)
(normal)
Initialize the weight with normal(0, sigma)
sigma - Standard deviation for gaussian distribution.
xavier
(xavier {:keys [rand-type factor-type magnitude :as opts], :or {rand-type "uniform", factor-type "avg", magnitude 3}})
(xavier)
Initialize the weight with Xavier or similar initialization scheme
rand-type - 'gaussian' or 'uniform'
factor-type - 'avg' 'in' or 'out'
magnitude - scale of random number range