MPSNNReduceFeatureChannelsAndWeightsSum(3) | MetalPerformanceShaders.framework | MPSNNReduceFeatureChannelsAndWeightsSum(3) |
MPSNNReduceFeatureChannelsAndWeightsSum
#import <MPSNNReduce.h>
Inherits MPSNNReduceBinary.
(nonnull instancetype) - initWithDevice:
(nonnull instancetype) - initWithDevice:doWeightedSumByNonZeroWeights:
bool doWeightedSumByNonZeroWeights
Specifies information to apply the reduction operation on an image.
Parameters:
Returns:
Reimplemented from MPSNNReduceBinary.
Specifies information to apply the reduction operation on an image.
Parameters:
Returns:
A boolean to indicate whether the reduction should perform a weighted sum of feature channels with non-zero weights If false, computes a dot product of the feature channels and weights. If true, computes a dot product of the feature channels and weights divided by the number of non-zero weights
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |