MPSNNReduceFeatureChannelsSum(3)

NAME
MPSNNReduceFeatureChannelsSum

SYNOPSIS

#import <MPSNNReduce.h>

Inherits MPSNNReduceUnary.

  Instance Methods
(nonnull instancetype) - initWithDevice:

  Properties
float weight

  Additional Inherited Members

Detailed Description

The MPSNNReduceFeatureChannelsSum performs a reduction operation returning the sum for each column of an image

Method Documentation

  - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device
Specifies information to apply the reduction operation on an image.

Parameters:
    device The device the filter will run on

Returns:
    A valid MPSNNReduceFeatureChannelsSum object or nil, if failure.

Reimplemented from MPSNNReduceUnary.

Property Documentation

  - weight [read], [write], [nonatomic], [assign]
The scale factor to apply to each feature channel value Each feature channel is multiplied by the weight value to compute a weighted sum or mean across feature channels The default value is 1.0.

Author

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