MPSCNNSoftMax(3)

NAME
MPSCNNSoftMax -

SYNOPSIS

#import <MPSCNN.h>

Inherits MPSCNNKernel.

  Additional Inherited Members

Detailed Description

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

Author

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