renormLayer.m
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
Version 2.8, authors: Ilya Kuprov, Jake Keeley