(apply initializer name arr)(init-weight initializer name arr)(normal)(normal sigma)Initialize the weight with normal(0, sigma) sigma - Standard deviation for gaussian distribution.
Initialize the weight with normal(0, sigma) sigma - Standard deviation for gaussian distribution.
(uniform)(uniform scale)Initialize the weight with uniform [-scale, scale] scale - The scale of uniform distribution
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}})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
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
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |