MPSMatrixLogSoftMaxGradient(3) | MetalPerformanceShaders.framework | MPSMatrixLogSoftMaxGradient(3) |
MPSMatrixLogSoftMaxGradient
#import <MPSMatrixSoftMax.h>
Inherits MPSMatrixSoftMaxGradient.
This depends on Metal.framework.
Computes the gradient corresponding to a forward MPSMatrixLogSoftMax object.
A MPSMatrixLogSoftMaxGradient object computes:
dL_dX_ij = dL_dY_ij - exp(Y_ij * sum_k(dL_dY_ik))
Where dL_dX is the resulting gradient of the loss function with respect to
the original input to the forward MPSMatrixLogSoftMax operation, Y is
the output of the forward MPSMatrixLogSoftMax operation, and dL_dY is the
gradient of the loss function with respect to Y.
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |