renormLayer.m

From Spinach Documentation Wiki
Revision as of 18:40, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Renormalisation layer for probability distributions. Makes the mean value across the input vector equal to 1. The mean is used instead of the sum to stay around the sweet spot of single-precision arithmetic.

Syntax

    layer=renormLayer()

Outputs

    layer - Matlab Deep Learning Toolbox layer object

See also

dist_net.m, dist_vet.m, logsLayer.m, Neural network module

Version 2.8, authors: Ilya Kuprov, Jake Keeley