A neural transfer function that is useful for constructing a loss function to be minimized when training neural networks.
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
- Metal Performance Shaders
The logarithmic softmax filter is calculated by taking the natural logarithm of the result of a softmax filter.
For each feature channel per pixel in an image in a feature map, the logarithmic softmax filter computes the following:
R is the result channel in the pixel,
N is the number of feature channels, and