MPSCNNLogSoftMax(3) MetalPerformanceShaders.framework MPSCNNLogSoftMax(3)
NAME
MPSCNNLogSoftMax
SYNOPSIS
#import <MPSCNNSoftMax.h>
Inherits MPSCNNKernel.
Additional Inherited Members
Detailed Description
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.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNLogSoftMax(3)
Mac OS X 10.13.1 - Generated Mon Nov 6 18:13:20 CST 2017