MPSCNNSoftMax(3) MetalPerformanceShaders.framework MPSCNNSoftMax(3)

MPSCNNSoftMax

#import <MPSCNNSoftMax.h>

Inherits MPSCNNKernel.

This depends on Metal.framework The softMax filter is a neural transfer function and is useful for classification tasks. The softMax filter is applied across feature channels and in a convolutional manner at all spatial locations. The softMax filter can be seen as the combination of an activation function (exponential) and a normalization operator. For each feature channel per pixel in an image in a feature map, the softMax filter computes the following: result channel in pixel = exp(pixel(x,y,k))/sum(exp(pixel(x,y,0)) ... exp(pixel(x,y,N-1)) where N is the number of feature channels

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3