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.

uniform

(uniform scale)(uniform)
Initialize the weight with uniform [-scale, scale]
scale - The scale of uniform 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