MPSMatrixLogSoftMax(3) MetalPerformanceShaders.framework MPSMatrixLogSoftMax(3)

MPSMatrixLogSoftMax

#import <MPSMatrixSoftMax.h>

Inherits MPSMatrixSoftMax.

This depends on Metal.framework.

A logarithmic softmax kernel that operates on matrices.

A MPSMatrixLogSoftMax object computes:


B_ij = ln { Exp { A_ij } / ( Sum_k Exp { A_ik } ) } = A_ij - ln { Sum_k Exp { A_ik } }
A and B are matrices which are represented by MPSMatrix
objects. This filter computes the same result for MPSMatrices as
MPSCNNLogSoftMax filter does for MPSImages by interpreting the columns
of the matrix as feature channels, that is the sum runs over column indices.

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3