.TH "MPSCNNLogSoftMax" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSCNNLogSoftMax .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSCNNKernel\fP\&. .SS "Additional Inherited Members" .SH "Detailed Description" .PP This depends on Metal\&.framework The logarithmic softMax filter can be achieved by taking the natural logarithm of the the result of the softMax filter\&. The results are often used to construct a loss function to be minimized when training neural networks\&. For each feature channel per pixel in an image in a feature map, the logarithmic softMax filter computes the following: result channel in pixel = pixel(x,y,k)) - ln{sum(exp(pixel(x,y,0)) \&.\&.\&. exp(pixel(x,y,N-1))} where N is the number of feature channels and y = ln{x} satisfies e^y = x\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.