Layer normalization implementation. The left-out axes are typically the batch axis/axes.